Class DescribeStorediSCSIVolumesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.DescribeStorediSCSIVolumesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeStorediSCSIVolumesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeStorediSCSIVolumesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeStorediSCSIVolumesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getVolumeARNs()
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume.int
hashCode()
void
setVolumeARNs(Collection<String> volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeStorediSCSIVolumesRequest
withVolumeARNs(String... volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume.DescribeStorediSCSIVolumesRequest
withVolumeARNs(Collection<String> volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getVolumeARNs
public List<String> getVolumeARNs()
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
- Returns:
- An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
-
setVolumeARNs
public void setVolumeARNs(Collection<String> volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
- Parameters:
volumeARNs
- An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
-
withVolumeARNs
public DescribeStorediSCSIVolumesRequest withVolumeARNs(String... volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeARNs(java.util.Collection)
orwithVolumeARNs(java.util.Collection)
if you want to override the existing values.- Parameters:
volumeARNs
- An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVolumeARNs
public DescribeStorediSCSIVolumesRequest withVolumeARNs(Collection<String> volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
- Parameters:
volumeARNs
- An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.- 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 DescribeStorediSCSIVolumesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-