Class EC2RootVolume
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.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 amount of provisioned IOPS.StringgetKmsKeyARN()The KMS key that will be used to encrypt the EBS volume.IntegergetSize()Size defines the size of the volume in gibibytes (GiB).StringgetType()Type defines the type of the volume.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetIops(Integer iops)IOPS defines the amount of provisioned IOPS.voidsetKmsKeyARN(String kmsKeyARN)The KMS key that will be used to encrypt the EBS volume.voidsetSize(Integer size)Size defines the size of the volume in gibibytes (GiB).voidsetType(String type)Type defines the type of the volume.EC2RootVolumeBuildertoBuilder()
-
-
-
Method Detail
-
getIops
public Integer getIops()
IOPS defines the amount of provisioned IOPS. (KiB/s). IOPS may only be set for io1, io2, & gp3 volume types.
-
setIops
public void setIops(Integer iops)
IOPS defines the amount of provisioned IOPS. (KiB/s). IOPS may only be set for io1, io2, & gp3 volume types.
-
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 volume in gibibytes (GiB).
-
setSize
public void setSize(Integer size)
Size defines the size of the volume in gibibytes (GiB).
-
getType
public String getType()
Type defines the type of the volume.
-
setType
public void setType(String type)
Type defines the type of the volume.
-
edit
public EC2RootVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EC2RootVolumeBuilder>
-
toBuilder
public EC2RootVolumeBuilder toBuilder()
-
-