Class ListVolumesResult

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

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

    • ListVolumesResult

      public ListVolumesResult()
  • Method Details

    • setGatewayARN

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

      public String getGatewayARN()
      Returns:
    • withGatewayARN

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

      public void setMarker(String marker)
      Parameters:
      marker -
    • getMarker

      public String getMarker()
      Returns:
    • withMarker

      public ListVolumesResult withMarker(String marker)
      Parameters:
      marker -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getVolumeInfos

      public List<VolumeInfo> getVolumeInfos()
      Returns:
    • setVolumeInfos

      public void setVolumeInfos(Collection<VolumeInfo> volumeInfos)
      Parameters:
      volumeInfos -
    • withVolumeInfos

      public ListVolumesResult withVolumeInfos(VolumeInfo... volumeInfos)

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

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

      public ListVolumesResult withVolumeInfos(Collection<VolumeInfo> volumeInfos)
      Parameters:
      volumeInfos -
      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 ListVolumesResult clone()
      Overrides:
      clone in class Object