Class CinderVolumeType
- java.lang.Object
-
- org.openstack4j.openstack.storage.block.domain.CinderVolumeType
-
- All Implemented Interfaces:
Serializable,Buildable<VolumeTypeBuilder>,ModelEntity,VolumeType
public class CinderVolumeType extends Object implements VolumeType
The volume type defines the characteristics of a volume. It usually maps to a set of capabilities of the storage back-end driver to be used for this volume. Examples: "Performance", "SSD", "Backup", etc.- Author:
- Jeremy Unruh
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCinderVolumeType.ConcreteVolumeTypeBuilderstatic classCinderVolumeType.VolumeTypes-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description CinderVolumeType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeTypeBuilderbuilder()Map<String,String>getExtraSpecs()StringgetId()StringgetName()VolumeTypeBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static VolumeTypeBuilder builder()
- Returns:
- the Volume Type Builder
-
getId
public String getId()
- Specified by:
getIdin interfaceVolumeType- Returns:
- the identifier for the volume type
-
getName
public String getName()
- Specified by:
getNamein interfaceVolumeType- Returns:
- the name of the volume type
-
getExtraSpecs
public Map<String,String> getExtraSpecs()
- Specified by:
getExtraSpecsin interfaceVolumeType- Returns:
- the extra specifications (meta-data) associated with the volume type
-
toBuilder
public VolumeTypeBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<VolumeTypeBuilder>
-
-