Class EBSOptions
- java.lang.Object
-
- com.amazonaws.services.elasticsearch.model.EBSOptions
-
- All Implemented Interfaces:
Serializable,Cloneable
public class EBSOptions extends Object implements Serializable, Cloneable
Options to enable, disable, and specify the properties of EBS storage volumes. For more information, see Configuring EBS-based Storage.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EBSOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EBSOptionsclone()booleanequals(Object obj)BooleangetEBSEnabled()Specifies whether EBS-based storage is enabled.IntegergetIops()Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).IntegergetVolumeSize()Integer to specify the size of an EBS volume.StringgetVolumeType()Specifies the volume type for EBS-based storage.inthashCode()BooleanisEBSEnabled()Specifies whether EBS-based storage is enabled.voidsetEBSEnabled(Boolean eBSEnabled)Specifies whether EBS-based storage is enabled.voidsetIops(Integer iops)Specifies 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.StringtoString()Returns a string representation of this object; useful for testing and debugging.EBSOptionswithEBSEnabled(Boolean eBSEnabled)Specifies whether EBS-based storage is enabled.EBSOptionswithIops(Integer iops)Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).EBSOptionswithVolumeSize(Integer volumeSize)Integer to specify the size of an EBS volume.EBSOptionswithVolumeType(VolumeType volumeType)Specifies the volume type for EBS-based storage.EBSOptionswithVolumeType(String volumeType)Specifies the volume type for EBS-based storage.
-
-
-
Method Detail
-
setEBSEnabled
public void setEBSEnabled(Boolean eBSEnabled)
Specifies whether EBS-based storage is enabled.
- Parameters:
eBSEnabled- Specifies whether EBS-based storage is enabled.
-
getEBSEnabled
public Boolean getEBSEnabled()
Specifies whether EBS-based storage is enabled.
- Returns:
- Specifies whether EBS-based storage is enabled.
-
withEBSEnabled
public EBSOptions withEBSEnabled(Boolean eBSEnabled)
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
public Boolean isEBSEnabled()
Specifies whether EBS-based storage is enabled.
- Returns:
- Specifies whether EBS-based storage is enabled.
-
setVolumeType
public void setVolumeType(String volumeType)
Specifies the volume type for EBS-based storage.
- Parameters:
volumeType- Specifies the volume type for EBS-based storage.- See Also:
VolumeType
-
getVolumeType
public String getVolumeType()
Specifies the volume type for EBS-based storage.
- Returns:
- Specifies the volume type for EBS-based storage.
- See Also:
VolumeType
-
withVolumeType
public EBSOptions withVolumeType(String volumeType)
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:
VolumeType
-
setVolumeType
public void setVolumeType(VolumeType volumeType)
Specifies the volume type for EBS-based storage.
- Parameters:
volumeType- Specifies the volume type for EBS-based storage.- See Also:
VolumeType
-
withVolumeType
public EBSOptions withVolumeType(VolumeType volumeType)
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:
VolumeType
-
setVolumeSize
public void setVolumeSize(Integer volumeSize)
Integer to specify the size of an EBS volume.
- Parameters:
volumeSize- Integer to specify the size of an EBS volume.
-
getVolumeSize
public Integer getVolumeSize()
Integer to specify the size of an EBS volume.
- Returns:
- Integer to specify the size of an EBS volume.
-
withVolumeSize
public EBSOptions withVolumeSize(Integer volumeSize)
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
public void setIops(Integer iops)
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
- Parameters:
iops- Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
-
getIops
public Integer getIops()
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
- Returns:
- Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
-
withIops
public EBSOptions withIops(Integer iops)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EBSOptions clone()
-
-