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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCachediSCSIVolumesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeCachediSCSIVolumesResult
clone()
boolean
equals(Object obj)
List<CachediSCSIVolume>
getCachediSCSIVolumes()
An array of objects where each object contains metadata about one cached volume.int
hashCode()
void
setCachediSCSIVolumes(Collection<CachediSCSIVolume> cachediSCSIVolumes)
An array of objects where each object contains metadata about one cached volume.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeCachediSCSIVolumesResult
withCachediSCSIVolumes(CachediSCSIVolume... cachediSCSIVolumes)
An array of objects where each object contains metadata about one cached volume.DescribeCachediSCSIVolumesResult
withCachediSCSIVolumes(Collection<CachediSCSIVolume> cachediSCSIVolumes)
An array of objects where each object contains metadata about one cached volume.
-
-
-
Method Detail
-
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)
orwithCachediSCSIVolumes(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCachediSCSIVolumesResult clone()
-
-