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 EBSOptions
clone()
boolean
equals(Object obj)
Boolean
getEBSEnabled()
Specifies whether EBS-based storage is enabled.Integer
getIops()
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).Integer
getVolumeSize()
Integer to specify the size of an EBS volume.String
getVolumeType()
Specifies the volume type for EBS-based storage.int
hashCode()
Boolean
isEBSEnabled()
Specifies whether EBS-based storage is enabled.void
setEBSEnabled(Boolean eBSEnabled)
Specifies whether EBS-based storage is enabled.void
setIops(Integer iops)
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).void
setVolumeSize(Integer volumeSize)
Integer to specify the size of an EBS volume.void
setVolumeType(VolumeType volumeType)
Specifies the volume type for EBS-based storage.void
setVolumeType(String volumeType)
Specifies the volume type for EBS-based storage.String
toString()
Returns a string representation of this object; useful for testing and debugging.EBSOptions
withEBSEnabled(Boolean eBSEnabled)
Specifies whether EBS-based storage is enabled.EBSOptions
withIops(Integer iops)
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).EBSOptions
withVolumeSize(Integer volumeSize)
Integer to specify the size of an EBS volume.EBSOptions
withVolumeType(VolumeType volumeType)
Specifies the volume type for EBS-based storage.EBSOptions
withVolumeType(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EBSOptions clone()
-
-