Class EBSOptions
- All Implemented Interfaces:
Serializable,Cloneable
Options to enable, disable, and specify the properties of EBS storage volumes. For more information, see Configuring EBS-based Storage.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanSpecifies whether EBS-based storage is enabled.getIops()Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).Integer to specify the size of an EBS volume.Specifies the volume type for EBS-based storage.inthashCode()Specifies whether EBS-based storage is enabled.voidsetEBSEnabled(Boolean eBSEnabled) Specifies whether EBS-based storage is enabled.voidSpecifies the IOPD for a Provisioned IOPS EBS volume (SSD).voidsetVolumeSize(Integer volumeSize) Integer to specify the size of an EBS volume.voidsetVolumeType(VolumeType volumeType) Specifies the volume type for EBS-based storage.voidsetVolumeType(String volumeType) Specifies the volume type for EBS-based storage.toString()Returns a string representation of this object; useful for testing and debugging.withEBSEnabled(Boolean eBSEnabled) Specifies whether EBS-based storage is enabled.Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).withVolumeSize(Integer volumeSize) Integer to specify the size of an EBS volume.withVolumeType(VolumeType volumeType) Specifies the volume type for EBS-based storage.withVolumeType(String volumeType) Specifies the volume type for EBS-based storage.
-
Constructor Details
-
EBSOptions
public EBSOptions()
-
-
Method Details
-
setEBSEnabled
Specifies whether EBS-based storage is enabled.
- Parameters:
eBSEnabled- Specifies whether EBS-based storage is enabled.
-
getEBSEnabled
Specifies whether EBS-based storage is enabled.
- Returns:
- Specifies whether EBS-based storage is enabled.
-
withEBSEnabled
Specifies whether EBS-based storage is enabled.
- Parameters:
eBSEnabled- Specifies whether EBS-based storage is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEBSEnabled
Specifies whether EBS-based storage is enabled.
- Returns:
- Specifies whether EBS-based storage is enabled.
-
setVolumeType
Specifies the volume type for EBS-based storage.
- Parameters:
volumeType- Specifies the volume type for EBS-based storage.- See Also:
-
getVolumeType
Specifies the volume type for EBS-based storage.
- Returns:
- Specifies the volume type for EBS-based storage.
- See Also:
-
withVolumeType
Specifies the volume type for EBS-based storage.
- Parameters:
volumeType- Specifies the volume type for EBS-based storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setVolumeType
Specifies the volume type for EBS-based storage.
- Parameters:
volumeType- Specifies the volume type for EBS-based storage.- See Also:
-
withVolumeType
Specifies the volume type for EBS-based storage.
- Parameters:
volumeType- Specifies the volume type for EBS-based storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setVolumeSize
Integer to specify the size of an EBS volume.
- Parameters:
volumeSize- Integer to specify the size of an EBS volume.
-
getVolumeSize
Integer to specify the size of an EBS volume.
- Returns:
- Integer to specify the size of an EBS volume.
-
withVolumeSize
Integer to specify the size of an EBS volume.
- Parameters:
volumeSize- Integer to specify the size of an EBS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIops
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
- Parameters:
iops- Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
-
getIops
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
- Returns:
- Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
-
withIops
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
- Parameters:
iops- Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-