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:
  • Constructor Details

    • EBSOptions

      public EBSOptions()
  • Method Details

    • 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:
    • getVolumeType

      public String getVolumeType()

      Specifies the volume type for EBS-based storage.

      Returns:
      Specifies the volume type for EBS-based storage.
      See Also:
    • 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:
    • 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:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public EBSOptions clone()
      Overrides:
      clone in class Object