@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVolumesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeVolumesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<VolumeFilter> |
getFilters()
Enter a filter
Name and Values pair to view a select set of volumes. |
Integer |
getMaxResults() |
String |
getNextToken() |
List<String> |
getVolumeIds()
The IDs of the volumes whose descriptions you want to retrieve.
|
int |
hashCode() |
void |
setFilters(Collection<VolumeFilter> filters)
Enter a filter
Name and Values pair to view a select set of volumes. |
void |
setMaxResults(Integer maxResults) |
void |
setNextToken(String nextToken) |
void |
setVolumeIds(Collection<String> volumeIds)
The IDs of the volumes whose descriptions you want to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
DescribeVolumesRequest |
withFilters(Collection<VolumeFilter> filters)
Enter a filter
Name and Values pair to view a select set of volumes. |
DescribeVolumesRequest |
withFilters(VolumeFilter... filters)
Enter a filter
Name and Values pair to view a select set of volumes. |
DescribeVolumesRequest |
withMaxResults(Integer maxResults) |
DescribeVolumesRequest |
withNextToken(String nextToken) |
DescribeVolumesRequest |
withVolumeIds(Collection<String> volumeIds)
The IDs of the volumes whose descriptions you want to retrieve.
|
DescribeVolumesRequest |
withVolumeIds(String... volumeIds)
The IDs of the volumes whose descriptions you want to retrieve.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getVolumeIds()
The IDs of the volumes whose descriptions you want to retrieve.
public void setVolumeIds(Collection<String> volumeIds)
The IDs of the volumes whose descriptions you want to retrieve.
volumeIds
- The IDs of the volumes whose descriptions you want to retrieve.public DescribeVolumesRequest withVolumeIds(String... volumeIds)
The IDs of the volumes whose descriptions you want to retrieve.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeIds(java.util.Collection)
or withVolumeIds(java.util.Collection)
if you want to
override the existing values.
volumeIds
- The IDs of the volumes whose descriptions you want to retrieve.public DescribeVolumesRequest withVolumeIds(Collection<String> volumeIds)
The IDs of the volumes whose descriptions you want to retrieve.
volumeIds
- The IDs of the volumes whose descriptions you want to retrieve.public List<VolumeFilter> getFilters()
Enter a filter Name
and Values
pair to view a select set of volumes.
Name
and Values
pair to view a select set of volumes.public void setFilters(Collection<VolumeFilter> filters)
Enter a filter Name
and Values
pair to view a select set of volumes.
filters
- Enter a filter Name
and Values
pair to view a select set of volumes.public DescribeVolumesRequest withFilters(VolumeFilter... filters)
Enter a filter Name
and Values
pair to view a select set of volumes.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Enter a filter Name
and Values
pair to view a select set of volumes.public DescribeVolumesRequest withFilters(Collection<VolumeFilter> filters)
Enter a filter Name
and Values
pair to view a select set of volumes.
filters
- Enter a filter Name
and Values
pair to view a select set of volumes.public void setMaxResults(Integer maxResults)
maxResults
- public Integer getMaxResults()
public DescribeVolumesRequest withMaxResults(Integer maxResults)
maxResults
- public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public DescribeVolumesRequest withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public DescribeVolumesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()