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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListVolumesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVolumesResultclone()booleanequals(Object obj)StringgetGatewayARN()StringgetMarker()List<VolumeInfo>getVolumeInfos()inthashCode()voidsetGatewayARN(String gatewayARN)voidsetMarker(String marker)voidsetVolumeInfos(Collection<VolumeInfo> volumeInfos)StringtoString()Returns a string representation of this object; useful for testing and debugging.ListVolumesResultwithGatewayARN(String gatewayARN)ListVolumesResultwithMarker(String marker)ListVolumesResultwithVolumeInfos(VolumeInfo... volumeInfos)NOTE: This method appends the values to the existing list (if any).ListVolumesResultwithVolumeInfos(Collection<VolumeInfo> volumeInfos)
-
-
-
Method Detail
-
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)orwithVolumeInfos(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListVolumesResult clone()
-
-