@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLockedSnapshotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeLockedSnapshotsRequest>
NOOP
Constructor and Description |
---|
DescribeLockedSnapshotsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeLockedSnapshotsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeLockedSnapshotsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
List<String> |
getSnapshotIds()
The IDs of the snapshots for which to view the lock status.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
void |
setSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots for which to view the lock status.
|
String |
toString()
Returns a string representation of this object.
|
DescribeLockedSnapshotsRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeLockedSnapshotsRequest |
withFilters(Filter... filters)
The filters.
|
DescribeLockedSnapshotsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeLockedSnapshotsRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
DescribeLockedSnapshotsRequest |
withSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots for which to view the lock status.
|
DescribeLockedSnapshotsRequest |
withSnapshotIds(String... snapshotIds)
The IDs of the snapshots for which to view the lock status.
|
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<Filter> getFilters()
The filters.
lock-state
- The state of the snapshot lock (compliance-cooloff
|
governance
| compliance
| expired
).
lock-state
- The state of the snapshot lock (compliance-cooloff
|
governance
| compliance
| expired
).
public void setFilters(Collection<Filter> filters)
The filters.
lock-state
- The state of the snapshot lock (compliance-cooloff
|
governance
| compliance
| expired
).
filters
- The filters.
lock-state
- The state of the snapshot lock (compliance-cooloff
|
governance
| compliance
| expired
).
public DescribeLockedSnapshotsRequest withFilters(Filter... filters)
The filters.
lock-state
- The state of the snapshot lock (compliance-cooloff
|
governance
| compliance
| expired
).
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
- The filters.
lock-state
- The state of the snapshot lock (compliance-cooloff
|
governance
| compliance
| expired
).
public DescribeLockedSnapshotsRequest withFilters(Collection<Filter> filters)
The filters.
lock-state
- The state of the snapshot lock (compliance-cooloff
|
governance
| compliance
| expired
).
filters
- The filters.
lock-state
- The state of the snapshot lock (compliance-cooloff
|
governance
| compliance
| expired
).
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
public DescribeLockedSnapshotsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public void setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public DescribeLockedSnapshotsRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public List<String> getSnapshotIds()
The IDs of the snapshots for which to view the lock status.
public void setSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots for which to view the lock status.
snapshotIds
- The IDs of the snapshots for which to view the lock status.public DescribeLockedSnapshotsRequest withSnapshotIds(String... snapshotIds)
The IDs of the snapshots for which to view the lock status.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshotIds(java.util.Collection)
or withSnapshotIds(java.util.Collection)
if you want to
override the existing values.
snapshotIds
- The IDs of the snapshots for which to view the lock status.public DescribeLockedSnapshotsRequest withSnapshotIds(Collection<String> snapshotIds)
The IDs of the snapshots for which to view the lock status.
snapshotIds
- The IDs of the snapshots for which to view the lock status.public Request<DescribeLockedSnapshotsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeLockedSnapshotsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeLockedSnapshotsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()