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
CinderVolumeTypeEncryption
andCinderVolumeTypeEncryptionFetch
CinderVolumeTypeEncryption 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 class
AbstractCinderVolumeTypeEncryption.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 VolumeTypeEncryptionBuilder
builder()
String
getCipher()
String
getControlLocation()
String
getId()
Integer
getKeySize()
String
getProvider()
String
getVolumeTypeId()
VolumeTypeEncryptionBuilder
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static VolumeTypeEncryptionBuilder builder()
- Returns:
- the Encryption Type Builder
-
getId
public String getId()
- Specified by:
getId
in interfaceVolumeTypeEncryption
- Returns:
- the identifier for the encryption
-
getProvider
public String getProvider()
- Specified by:
getProvider
in interfaceVolumeTypeEncryption
- Returns:
- the provider of the encryption
-
getVolumeTypeId
public String getVolumeTypeId()
- Specified by:
getVolumeTypeId
in interfaceVolumeTypeEncryption
- Returns:
- the identifier for the associated volume type
-
getCipher
public String getCipher()
- Specified by:
getCipher
in interfaceVolumeTypeEncryption
- Returns:
- the cipher of the encryption
-
getKeySize
public Integer getKeySize()
- Specified by:
getKeySize
in interfaceVolumeTypeEncryption
- Returns:
- the key size of the encryption in bits
-
getControlLocation
public String getControlLocation()
- Specified by:
getControlLocation
in interfaceVolumeTypeEncryption
- Returns:
- the control location of the encryption
-
toBuilder
public VolumeTypeEncryptionBuilder toBuilder()
- Specified by:
toBuilder
in interfaceBuildable<VolumeTypeEncryptionBuilder>
-
-