Class EC2RootVolume
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.aws.v1.EC2RootVolume
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EC2RootVolumeBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EC2RootVolume extends Object implements io.fabric8.kubernetes.api.builder.Editable<EC2RootVolumeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
EC2RootVolume defines the storage for an ec2 instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EC2RootVolume()No args constructor for use in serializationEC2RootVolume(Integer iops, String kmsKeyARN, Integer size, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EC2RootVolumeBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetIops()IOPS defines the iops for the storage.StringgetKmsKeyARN()The KMS key that will be used to encrypt the EBS volume.IntegergetSize()Size defines the size of the storage.StringgetType()Type defines the type of the storage.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetIops(Integer iops)IOPS defines the iops for the storage.voidsetKmsKeyARN(String kmsKeyARN)The KMS key that will be used to encrypt the EBS volume.voidsetSize(Integer size)Size defines the size of the storage.voidsetType(String type)Type defines the type of the storage.EC2RootVolumeBuildertoBuilder()
-
-
-
Method Detail
-
getIops
public Integer getIops()
IOPS defines the iops for the storage.
-
setIops
public void setIops(Integer iops)
IOPS defines the iops for the storage.
-
getKmsKeyARN
public String getKmsKeyARN()
The KMS key that will be used to encrypt the EBS volume. If no key is provided the default KMS key for the account will be used. https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetEbsDefaultKmsKeyId.html
-
setKmsKeyARN
public void setKmsKeyARN(String kmsKeyARN)
The KMS key that will be used to encrypt the EBS volume. If no key is provided the default KMS key for the account will be used. https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetEbsDefaultKmsKeyId.html
-
getSize
public Integer getSize()
Size defines the size of the storage.
-
setSize
public void setSize(Integer size)
Size defines the size of the storage.
-
getType
public String getType()
Type defines the type of the storage.
-
setType
public void setType(String type)
Type defines the type of the storage.
-
edit
public EC2RootVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EC2RootVolumeBuilder>
-
toBuilder
public EC2RootVolumeBuilder toBuilder()
-
-