Class EbsConfiguration

java.lang.Object
com.amazonaws.services.elasticmapreduce.model.EbsConfiguration
All Implemented Interfaces:
Serializable, Cloneable

public class EbsConfiguration extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • EbsConfiguration

      public EbsConfiguration()
  • Method Details

    • getEbsBlockDeviceConfigs

      public List<EbsBlockDeviceConfig> getEbsBlockDeviceConfigs()
      Returns:
    • setEbsBlockDeviceConfigs

      public void setEbsBlockDeviceConfigs(Collection<EbsBlockDeviceConfig> ebsBlockDeviceConfigs)
      Parameters:
      ebsBlockDeviceConfigs -
    • withEbsBlockDeviceConfigs

      public EbsConfiguration withEbsBlockDeviceConfigs(EbsBlockDeviceConfig... ebsBlockDeviceConfigs)

      NOTE: This method appends the values to the existing list (if any). Use setEbsBlockDeviceConfigs(java.util.Collection) or withEbsBlockDeviceConfigs(java.util.Collection) if you want to override the existing values.

      Parameters:
      ebsBlockDeviceConfigs -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withEbsBlockDeviceConfigs

      public EbsConfiguration withEbsBlockDeviceConfigs(Collection<EbsBlockDeviceConfig> ebsBlockDeviceConfigs)
      Parameters:
      ebsBlockDeviceConfigs -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEbsOptimized

      public void setEbsOptimized(Boolean ebsOptimized)
      Parameters:
      ebsOptimized -
    • getEbsOptimized

      public Boolean getEbsOptimized()
      Returns:
    • withEbsOptimized

      public EbsConfiguration withEbsOptimized(Boolean ebsOptimized)
      Parameters:
      ebsOptimized -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isEbsOptimized

      public Boolean isEbsOptimized()
      Returns:
    • 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 EbsConfiguration clone()
      Overrides:
      clone in class Object