Class DescribeCachediSCSIVolumesResult

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

public class DescribeCachediSCSIVolumesResult extends Object implements Serializable, Cloneable

A JSON object containing the following fields:

See Also:
  • Constructor Details

    • DescribeCachediSCSIVolumesResult

      public DescribeCachediSCSIVolumesResult()
  • Method Details

    • getCachediSCSIVolumes

      public List<CachediSCSIVolume> getCachediSCSIVolumes()

      An array of objects where each object contains metadata about one cached volume.

      Returns:
      An array of objects where each object contains metadata about one cached volume.
    • setCachediSCSIVolumes

      public void setCachediSCSIVolumes(Collection<CachediSCSIVolume> cachediSCSIVolumes)

      An array of objects where each object contains metadata about one cached volume.

      Parameters:
      cachediSCSIVolumes - An array of objects where each object contains metadata about one cached volume.
    • withCachediSCSIVolumes

      public DescribeCachediSCSIVolumesResult withCachediSCSIVolumes(CachediSCSIVolume... cachediSCSIVolumes)

      An array of objects where each object contains metadata about one cached volume.

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

      Parameters:
      cachediSCSIVolumes - An array of objects where each object contains metadata about one cached volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withCachediSCSIVolumes

      public DescribeCachediSCSIVolumesResult withCachediSCSIVolumes(Collection<CachediSCSIVolume> cachediSCSIVolumes)

      An array of objects where each object contains metadata about one cached volume.

      Parameters:
      cachediSCSIVolumes - An array of objects where each object contains metadata about one cached volume.
      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

      Overrides:
      clone in class Object