public class DescribeCachediSCSIVolumesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A JSON object containing the following fields:
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<CachediSCSIVolume> |
cachediSCSIVolumes
An array of objects where each object contains metadata about one cached
volume.
|
Constructor and Description |
---|
DescribeCachediSCSIVolumesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCachediSCSIVolumesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<CachediSCSIVolume> |
getCachediSCSIVolumes()
An array of objects where each object contains metadata about one cached
volume.
|
int |
hashCode() |
void |
setCachediSCSIVolumes(java.util.Collection<CachediSCSIVolume> cachediSCSIVolumes)
An array of objects where each object contains metadata about one cached
volume.
|
java.lang.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(java.util.Collection<CachediSCSIVolume> cachediSCSIVolumes)
An array of objects where each object contains metadata about one cached
volume.
|
private SdkInternalList<CachediSCSIVolume> cachediSCSIVolumes
An array of objects where each object contains metadata about one cached volume.
public java.util.List<CachediSCSIVolume> getCachediSCSIVolumes()
An array of objects where each object contains metadata about one cached volume.
public void setCachediSCSIVolumes(java.util.Collection<CachediSCSIVolume> cachediSCSIVolumes)
An array of objects where each object contains metadata about one cached volume.
cachediSCSIVolumes
- An array of objects where each object contains metadata about one
cached volume.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.
cachediSCSIVolumes
- An array of objects where each object contains metadata about one
cached volume.public DescribeCachediSCSIVolumesResult withCachediSCSIVolumes(java.util.Collection<CachediSCSIVolume> cachediSCSIVolumes)
An array of objects where each object contains metadata about one cached volume.
cachediSCSIVolumes
- An array of objects where each object contains metadata about one
cached volume.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeCachediSCSIVolumesResult clone()
clone
in class java.lang.Object