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.booleanThis method is intended for internal use only.One or more filters.The maximum number of volume results returned byDescribeVolumeStatusin paginated output.TheNextTokenvalue to include in a futureDescribeVolumeStatusrequest.One or more volume IDs.inthashCode()voidsetFilters(Collection<Filter> filters) One or more filters.voidsetMaxResults(Integer maxResults) The maximum number of volume results returned byDescribeVolumeStatusin paginated output.voidsetNextToken(String nextToken) TheNextTokenvalue to include in a futureDescribeVolumeStatusrequest.voidsetVolumeIds(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 byDescribeVolumeStatusin paginated output.withNextToken(String nextToken) TheNextTokenvalue to include in a futureDescribeVolumeStatusrequest.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
NextTokenvalue to include in a futureDescribeVolumeStatusrequest. When the results of the request exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- TheNextTokenvalue to include in a futureDescribeVolumeStatusrequest. When the results of the request exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
getNextToken
The
NextTokenvalue to include in a futureDescribeVolumeStatusrequest. When the results of the request exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- The
NextTokenvalue to include in a futureDescribeVolumeStatusrequest. When the results of the request exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
withNextToken
The
NextTokenvalue to include in a futureDescribeVolumeStatusrequest. When the results of the request exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- TheNextTokenvalue to include in a futureDescribeVolumeStatusrequest. When the results of the request exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen 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
DescribeVolumeStatusin paginated output. When this parameter is used, the request only returnsMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending another request with the returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatusreturns 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 byDescribeVolumeStatusin paginated output. When this parameter is used, the request only returnsMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending another request with the returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatusreturns 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
DescribeVolumeStatusin paginated output. When this parameter is used, the request only returnsMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending another request with the returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatusreturns 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
DescribeVolumeStatusin paginated output. When this parameter is used, the request only returnsMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending another request with the returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatusreturns 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
DescribeVolumeStatusin paginated output. When this parameter is used, the request only returnsMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending another request with the returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatusreturns 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 byDescribeVolumeStatusin paginated output. When this parameter is used, the request only returnsMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending another request with the returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis given a value larger than 1000, only 1000 results are returned. If this parameter is not used, thenDescribeVolumeStatusreturns 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:
getDryRunRequestin 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:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-