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 ListVolumesResult
clone()
boolean
equals(Object obj)
String
getGatewayARN()
String
getMarker()
List<VolumeInfo>
getVolumeInfos()
int
hashCode()
void
setGatewayARN(String gatewayARN)
void
setMarker(String marker)
void
setVolumeInfos(Collection<VolumeInfo> volumeInfos)
String
toString()
Returns a string representation of this object; useful for testing and debugging.ListVolumesResult
withGatewayARN(String gatewayARN)
ListVolumesResult
withMarker(String marker)
ListVolumesResult
withVolumeInfos(VolumeInfo... volumeInfos)
NOTE: This method appends the values to the existing list (if any).ListVolumesResult
withVolumeInfos(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListVolumesResult clone()
-
-