public abstract static class VolumeType.Builder<T extends VolumeType.Builder<T>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Date |
created |
protected Map<String,String> |
extraSpecs |
protected String |
id |
protected String |
name |
protected Date |
updated |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VolumeType |
build() |
T |
created(Date created) |
T |
extraSpecs(Map<String,String> extraSpecs) |
T |
fromVolumeType(VolumeType in) |
T |
id(String id) |
T |
name(String name) |
protected abstract T |
self() |
T |
updated(Date updated) |
protected String id
protected String name
protected Date created
protected Date updated
protected abstract T self()
public T id(String id)
VolumeType.getId()public T name(String name)
VolumeType.getName()public T created(Date created)
VolumeType.getCreated()public T updated(Date updated)
VolumeType.getUpdated()public T extraSpecs(Map<String,String> extraSpecs)
VolumeType.getExtraSpecs()public VolumeType build()
public T fromVolumeType(VolumeType in)
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.