Class AbstractCinderVolumeTypeEncryption
- java.lang.Object
-
- org.openstack4j.openstack.storage.block.domain.AbstractCinderVolumeTypeEncryption
-
- All Implemented Interfaces:
Serializable,Buildable<VolumeTypeEncryptionBuilder>,ModelEntity,VolumeTypeEncryption
- Direct Known Subclasses:
CinderVolumeTypeEncryption,CinderVolumeTypeEncryptionFetch
public class AbstractCinderVolumeTypeEncryption extends Object implements VolumeTypeEncryption
A volume type encryptionThis is the parent class for
CinderVolumeTypeEncryptionandCinderVolumeTypeEncryptionFetchCinderVolumeTypeEncryption has the json root name encryption whereas CinderVolumeTypeEncryptionFetch doesn't as the API doesn't expect it- Author:
- Jyothi Saroja
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractCinderVolumeTypeEncryption.VolumeTypeEncryptionConcreteBuilder-
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 AbstractCinderVolumeTypeEncryption()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeTypeEncryptionBuilderbuilder()StringgetCipher()StringgetControlLocation()StringgetId()IntegergetKeySize()StringgetProvider()StringgetVolumeTypeId()VolumeTypeEncryptionBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static VolumeTypeEncryptionBuilder builder()
- Returns:
- the Encryption Type Builder
-
getId
public String getId()
- Specified by:
getIdin interfaceVolumeTypeEncryption- Returns:
- the identifier for the encryption
-
getProvider
public String getProvider()
- Specified by:
getProviderin interfaceVolumeTypeEncryption- Returns:
- the provider of the encryption
-
getVolumeTypeId
public String getVolumeTypeId()
- Specified by:
getVolumeTypeIdin interfaceVolumeTypeEncryption- Returns:
- the identifier for the associated volume type
-
getCipher
public String getCipher()
- Specified by:
getCipherin interfaceVolumeTypeEncryption- Returns:
- the cipher of the encryption
-
getKeySize
public Integer getKeySize()
- Specified by:
getKeySizein interfaceVolumeTypeEncryption- Returns:
- the key size of the encryption in bits
-
getControlLocation
public String getControlLocation()
- Specified by:
getControlLocationin interfaceVolumeTypeEncryption- Returns:
- the control location of the encryption
-
toBuilder
public VolumeTypeEncryptionBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<VolumeTypeEncryptionBuilder>
-
-