Class DescribeVolumeStatusRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeVolumeStatusRequest>
,Serializable
,Cloneable
Contains the parameters for DescribeVolumeStatus.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
This method is intended for internal use only.One or more filters.The maximum number of volume results returned byDescribeVolumeStatus
in paginated output.TheNextToken
value to include in a futureDescribeVolumeStatus
request.One or more volume IDs.int
hashCode()
void
setFilters
(Collection<Filter> filters) One or more filters.void
setMaxResults
(Integer maxResults) The maximum number of volume results returned byDescribeVolumeStatus
in paginated output.void
setNextToken
(String nextToken) TheNextToken
value to include in a futureDescribeVolumeStatus
request.void
setVolumeIds
(Collection<String> volumeIds) One or more volume IDs.toString()
Returns a string representation of this object; useful for testing and debugging.withFilters
(Filter... filters) One or more filters.withFilters
(Collection<Filter> filters) One or more filters.withMaxResults
(Integer maxResults) The maximum number of volume results returned byDescribeVolumeStatus
in paginated output.withNextToken
(String nextToken) TheNextToken
value to include in a futureDescribeVolumeStatus
request.withVolumeIds
(String... volumeIds) One or more volume IDs.withVolumeIds
(Collection<String> volumeIds) One or more volume IDs.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
-
Constructor Details
-
DescribeVolumeStatusRequest
public DescribeVolumeStatusRequest()
-
-
Method Details
-
getVolumeIds
One or more volume IDs.
Default: Describes all your volumes.
- Returns:
- One or more volume IDs.
Default: Describes all your volumes.
-
setVolumeIds
One or more volume IDs.
Default: Describes all your volumes.
- Parameters:
volumeIds
- One or more volume IDs.Default: Describes all your volumes.
-
withVolumeIds
One or more volume IDs.
Default: Describes all your volumes.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeIds(java.util.Collection)
orwithVolumeIds(java.util.Collection)
if you want to override the existing values.- Parameters:
volumeIds
- One or more volume IDs.Default: Describes all your volumes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVolumeIds
One or more volume IDs.
Default: Describes all your volumes.
- Parameters:
volumeIds
- One or more volume IDs.Default: Describes all your volumes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFilters
One or more filters.
-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
- Returns:
- One or more filters.
-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
-
-
-
setFilters
One or more filters.
-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
- Parameters:
filters
- One or more filters.-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
-
-
-
withFilters
One or more filters.
-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
orwithFilters(java.util.Collection)
if you want to override the existing values.- Parameters:
filters
- One or more filters.-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
One or more filters.
-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
- Parameters:
filters
- One or more filters.-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setNextToken
The
NextToken
value to include in a futureDescribeVolumeStatus
request. When the results of the request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value to include in a futureDescribeVolumeStatus
request. When the results of the request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
The
NextToken
value to include in a futureDescribeVolumeStatus
request. When the results of the request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- The
NextToken
value to include in a futureDescribeVolumeStatus
request. When the results of the request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
withNextToken
The
NextToken
value to include in a futureDescribeVolumeStatus
request. When the results of the request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value to include in a futureDescribeVolumeStatus
request. When the results of the request exceedMaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
The maximum number of volume results returned by
DescribeVolumeStatus
in paginated output. When this parameter is used, the request only returnsMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending another request with the returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatus
returns all results. You cannot specify this parameter and the volume IDs parameter in the same request.- Parameters:
maxResults
- The maximum number of volume results returned byDescribeVolumeStatus
in paginated output. When this parameter is used, the request only returnsMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending another request with the returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatus
returns all results. You cannot specify this parameter and the volume IDs parameter in the same request.
-
getMaxResults
The maximum number of volume results returned by
DescribeVolumeStatus
in paginated output. When this parameter is used, the request only returnsMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending another request with the returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatus
returns all results. You cannot specify this parameter and the volume IDs parameter in the same request.- Returns:
- The maximum number of volume results returned by
DescribeVolumeStatus
in paginated output. When this parameter is used, the request only returnsMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending another request with the returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatus
returns all results. You cannot specify this parameter and the volume IDs parameter in the same request.
-
withMaxResults
The maximum number of volume results returned by
DescribeVolumeStatus
in paginated output. When this parameter is used, the request only returnsMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending another request with the returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatus
returns all results. You cannot specify this parameter and the volume IDs parameter in the same request.- Parameters:
maxResults
- The maximum number of volume results returned byDescribeVolumeStatus
in paginated output. When this parameter is used, the request only returnsMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending another request with the returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatus
returns all results. You cannot specify this parameter and the volume IDs parameter in the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeVolumeStatusRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-