Class ListLocalDisksResult

java.lang.Object
com.amazonaws.services.storagegateway.model.ListLocalDisksResult
All Implemented Interfaces:
Serializable, Cloneable

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

    • ListLocalDisksResult

      public ListLocalDisksResult()
  • Method Details

    • setGatewayARN

      public void setGatewayARN(String gatewayARN)
      Parameters:
      gatewayARN -
    • getGatewayARN

      public String getGatewayARN()
      Returns:
    • withGatewayARN

      public ListLocalDisksResult withGatewayARN(String gatewayARN)
      Parameters:
      gatewayARN -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getDisks

      public List<Disk> getDisks()
      Returns:
    • setDisks

      public void setDisks(Collection<Disk> disks)
      Parameters:
      disks -
    • withDisks

      public ListLocalDisksResult withDisks(Disk... disks)

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

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

      public ListLocalDisksResult withDisks(Collection<Disk> disks)
      Parameters:
      disks -
      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 ListLocalDisksResult clone()
      Overrides:
      clone in class Object