@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSnapshotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeSnapshotsRequest>
NOOP| Constructor and Description |
|---|
DescribeSnapshotsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSnapshotsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeSnapshotsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
Integer |
getMaxResults()
The maximum number of snapshot results returned by
DescribeSnapshots in paginated output. |
String |
getNextToken()
The
NextToken value returned from a previous paginated DescribeSnapshots request where
MaxResults was used and the results exceeded the value of that parameter. |
List<String> |
getOwnerIds()
Describes the snapshots owned by these owners.
|
List<String> |
getRestorableByUserIds()
The IDs of the AWS accounts that can create volumes from the snapshot.
|
List<String> |
getSnapshotIds()
The snapshot IDs.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of snapshot results returned by
DescribeSnapshots in paginated output. |
void |
setNextToken(String nextToken)
The
NextToken value returned from a previous paginated DescribeSnapshots request where
MaxResults was used and the results exceeded the value of that parameter. |
void |
setOwnerIds(Collection<String> ownerIds)
Describes the snapshots owned by these owners.
|
void |
setRestorableByUserIds(Collection<String> restorableByUserIds)
The IDs of the AWS accounts that can create volumes from the snapshot.
|
void |
setSnapshotIds(Collection<String> snapshotIds)
The snapshot IDs.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSnapshotsRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeSnapshotsRequest |
withFilters(Filter... filters)
The filters.
|
DescribeSnapshotsRequest |
withMaxResults(Integer maxResults)
The maximum number of snapshot results returned by
DescribeSnapshots in paginated output. |
DescribeSnapshotsRequest |
withNextToken(String nextToken)
The
NextToken value returned from a previous paginated DescribeSnapshots request where
MaxResults was used and the results exceeded the value of that parameter. |
DescribeSnapshotsRequest |
withOwnerIds(Collection<String> ownerIds)
Describes the snapshots owned by these owners.
|
DescribeSnapshotsRequest |
withOwnerIds(String... ownerIds)
Describes the snapshots owned by these owners.
|
DescribeSnapshotsRequest |
withRestorableByUserIds(Collection<String> restorableByUserIds)
The IDs of the AWS accounts that can create volumes from the snapshot.
|
DescribeSnapshotsRequest |
withRestorableByUserIds(String... restorableByUserIds)
The IDs of the AWS accounts that can create volumes from the snapshot.
|
DescribeSnapshotsRequest |
withSnapshotIds(Collection<String> snapshotIds)
The snapshot IDs.
|
DescribeSnapshotsRequest |
withSnapshotIds(String... snapshotIds)
The snapshot IDs.
|
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, withSdkRequestTimeoutpublic List<Filter> getFilters()
The filters.
description - A description of the snapshot.
encrypted - Indicates whether the snapshot is encrypted (true | false)
owner-alias - Value from an Amazon-maintained list (amazon | self |
all | aws-marketplace | microsoft) of snapshot owners. Not to be confused
with the user-configured AWS account alias, which is set from the IAM console.
owner-id - The ID of the AWS account that owns the snapshot.
progress - The progress of the snapshot, as a percentage (for example, 80%).
snapshot-id - The snapshot ID.
start-time - The time stamp when the snapshot was initiated.
status - The status of the snapshot (pending | completed |
error).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner and the value TeamA, specify tag:Owner for the filter name
and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
volume-id - The ID of the volume the snapshot is for.
volume-size - The size of the volume, in GiB.
description - A description of the snapshot.
encrypted - Indicates whether the snapshot is encrypted (true |
false)
owner-alias - Value from an Amazon-maintained list (amazon | self
| all | aws-marketplace | microsoft) of snapshot owners. Not to be
confused with the user-configured AWS account alias, which is set from the IAM console.
owner-id - The ID of the AWS account that owns the snapshot.
progress - The progress of the snapshot, as a percentage (for example, 80%).
snapshot-id - The snapshot ID.
start-time - The time stamp when the snapshot was initiated.
status - The status of the snapshot (pending | completed |
error).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that
have a tag with the key Owner and the value TeamA, specify
tag:Owner for the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
volume-id - The ID of the volume the snapshot is for.
volume-size - The size of the volume, in GiB.
public void setFilters(Collection<Filter> filters)
The filters.
description - A description of the snapshot.
encrypted - Indicates whether the snapshot is encrypted (true | false)
owner-alias - Value from an Amazon-maintained list (amazon | self |
all | aws-marketplace | microsoft) of snapshot owners. Not to be confused
with the user-configured AWS account alias, which is set from the IAM console.
owner-id - The ID of the AWS account that owns the snapshot.
progress - The progress of the snapshot, as a percentage (for example, 80%).
snapshot-id - The snapshot ID.
start-time - The time stamp when the snapshot was initiated.
status - The status of the snapshot (pending | completed |
error).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner and the value TeamA, specify tag:Owner for the filter name
and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
volume-id - The ID of the volume the snapshot is for.
volume-size - The size of the volume, in GiB.
filters - The filters.
description - A description of the snapshot.
encrypted - Indicates whether the snapshot is encrypted (true |
false)
owner-alias - Value from an Amazon-maintained list (amazon | self |
all | aws-marketplace | microsoft) of snapshot owners. Not to be
confused with the user-configured AWS account alias, which is set from the IAM console.
owner-id - The ID of the AWS account that owns the snapshot.
progress - The progress of the snapshot, as a percentage (for example, 80%).
snapshot-id - The snapshot ID.
start-time - The time stamp when the snapshot was initiated.
status - The status of the snapshot (pending | completed |
error).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner and the value TeamA, specify tag:Owner for
the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
volume-id - The ID of the volume the snapshot is for.
volume-size - The size of the volume, in GiB.
public DescribeSnapshotsRequest withFilters(Filter... filters)
The filters.
description - A description of the snapshot.
encrypted - Indicates whether the snapshot is encrypted (true | false)
owner-alias - Value from an Amazon-maintained list (amazon | self |
all | aws-marketplace | microsoft) of snapshot owners. Not to be confused
with the user-configured AWS account alias, which is set from the IAM console.
owner-id - The ID of the AWS account that owns the snapshot.
progress - The progress of the snapshot, as a percentage (for example, 80%).
snapshot-id - The snapshot ID.
start-time - The time stamp when the snapshot was initiated.
status - The status of the snapshot (pending | completed |
error).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner and the value TeamA, specify tag:Owner for the filter name
and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
volume-id - The ID of the volume the snapshot is for.
volume-size - The size of the volume, in GiB.
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.
description - A description of the snapshot.
encrypted - Indicates whether the snapshot is encrypted (true |
false)
owner-alias - Value from an Amazon-maintained list (amazon | self |
all | aws-marketplace | microsoft) of snapshot owners. Not to be
confused with the user-configured AWS account alias, which is set from the IAM console.
owner-id - The ID of the AWS account that owns the snapshot.
progress - The progress of the snapshot, as a percentage (for example, 80%).
snapshot-id - The snapshot ID.
start-time - The time stamp when the snapshot was initiated.
status - The status of the snapshot (pending | completed |
error).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner and the value TeamA, specify tag:Owner for
the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
volume-id - The ID of the volume the snapshot is for.
volume-size - The size of the volume, in GiB.
public DescribeSnapshotsRequest withFilters(Collection<Filter> filters)
The filters.
description - A description of the snapshot.
encrypted - Indicates whether the snapshot is encrypted (true | false)
owner-alias - Value from an Amazon-maintained list (amazon | self |
all | aws-marketplace | microsoft) of snapshot owners. Not to be confused
with the user-configured AWS account alias, which is set from the IAM console.
owner-id - The ID of the AWS account that owns the snapshot.
progress - The progress of the snapshot, as a percentage (for example, 80%).
snapshot-id - The snapshot ID.
start-time - The time stamp when the snapshot was initiated.
status - The status of the snapshot (pending | completed |
error).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner and the value TeamA, specify tag:Owner for the filter name
and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
volume-id - The ID of the volume the snapshot is for.
volume-size - The size of the volume, in GiB.
filters - The filters.
description - A description of the snapshot.
encrypted - Indicates whether the snapshot is encrypted (true |
false)
owner-alias - Value from an Amazon-maintained list (amazon | self |
all | aws-marketplace | microsoft) of snapshot owners. Not to be
confused with the user-configured AWS account alias, which is set from the IAM console.
owner-id - The ID of the AWS account that owns the snapshot.
progress - The progress of the snapshot, as a percentage (for example, 80%).
snapshot-id - The snapshot ID.
start-time - The time stamp when the snapshot was initiated.
status - The status of the snapshot (pending | completed |
error).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner and the value TeamA, specify tag:Owner for
the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
volume-id - The ID of the volume the snapshot is for.
volume-size - The size of the volume, in GiB.
public void setMaxResults(Integer maxResults)
The maximum number of snapshot results returned by DescribeSnapshots in paginated output. When this
parameter is used, DescribeSnapshots only returns MaxResults results in a single page
along with a NextToken response element. The remaining results of the initial request can be seen by
sending another DescribeSnapshots request with the returned NextToken value. This value
can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are
returned. If this parameter is not used, then DescribeSnapshots returns all results. You cannot
specify this parameter and the snapshot IDs parameter in the same request.
maxResults - The maximum number of snapshot results returned by DescribeSnapshots in paginated output.
When this parameter is used, DescribeSnapshots only returns MaxResults results
in a single page along with a NextToken response element. The remaining results of the
initial request can be seen by sending another DescribeSnapshots request with the returned
NextToken value. This value can be between 5 and 1000; if MaxResults is given a
value larger than 1000, only 1000 results are returned. If this parameter is not used, then
DescribeSnapshots returns all results. You cannot specify this parameter and the snapshot IDs
parameter in the same request.public Integer getMaxResults()
The maximum number of snapshot results returned by DescribeSnapshots in paginated output. When this
parameter is used, DescribeSnapshots only returns MaxResults results in a single page
along with a NextToken response element. The remaining results of the initial request can be seen by
sending another DescribeSnapshots request with the returned NextToken value. This value
can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are
returned. If this parameter is not used, then DescribeSnapshots returns all results. You cannot
specify this parameter and the snapshot IDs parameter in the same request.
DescribeSnapshots in paginated output.
When this parameter is used, DescribeSnapshots only returns MaxResults results
in a single page along with a NextToken response element. The remaining results of the
initial request can be seen by sending another DescribeSnapshots request with the returned
NextToken value. This value can be between 5 and 1000; if MaxResults is given a
value larger than 1000, only 1000 results are returned. If this parameter is not used, then
DescribeSnapshots returns all results. You cannot specify this parameter and the snapshot
IDs parameter in the same request.public DescribeSnapshotsRequest withMaxResults(Integer maxResults)
The maximum number of snapshot results returned by DescribeSnapshots in paginated output. When this
parameter is used, DescribeSnapshots only returns MaxResults results in a single page
along with a NextToken response element. The remaining results of the initial request can be seen by
sending another DescribeSnapshots request with the returned NextToken value. This value
can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are
returned. If this parameter is not used, then DescribeSnapshots returns all results. You cannot
specify this parameter and the snapshot IDs parameter in the same request.
maxResults - The maximum number of snapshot results returned by DescribeSnapshots in paginated output.
When this parameter is used, DescribeSnapshots only returns MaxResults results
in a single page along with a NextToken response element. The remaining results of the
initial request can be seen by sending another DescribeSnapshots request with the returned
NextToken value. This value can be between 5 and 1000; if MaxResults is given a
value larger than 1000, only 1000 results are returned. If this parameter is not used, then
DescribeSnapshots returns all results. You cannot specify this parameter and the snapshot IDs
parameter in the same request.public void setNextToken(String nextToken)
The NextToken value returned from a previous paginated DescribeSnapshots request where
MaxResults was used and the results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the NextToken value. This value is null
when there are no more results to return.
nextToken - The NextToken value returned from a previous paginated DescribeSnapshots request
where MaxResults was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the NextToken value. This value
is null when there are no more results to return.public String getNextToken()
The NextToken value returned from a previous paginated DescribeSnapshots request where
MaxResults was used and the results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the NextToken value. This value is null
when there are no more results to return.
NextToken value returned from a previous paginated DescribeSnapshots
request where MaxResults was used and the results exceeded the value of that parameter.
Pagination continues from the end of the previous results that returned the NextToken value.
This value is null when there are no more results to return.public DescribeSnapshotsRequest withNextToken(String nextToken)
The NextToken value returned from a previous paginated DescribeSnapshots request where
MaxResults was used and the results exceeded the value of that parameter. Pagination continues from
the end of the previous results that returned the NextToken value. This value is null
when there are no more results to return.
nextToken - The NextToken value returned from a previous paginated DescribeSnapshots request
where MaxResults was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the NextToken value. This value
is null when there are no more results to return.public List<String> getOwnerIds()
Describes the snapshots owned by these owners.
public void setOwnerIds(Collection<String> ownerIds)
Describes the snapshots owned by these owners.
ownerIds - Describes the snapshots owned by these owners.public DescribeSnapshotsRequest withOwnerIds(String... ownerIds)
Describes the snapshots owned by these owners.
NOTE: This method appends the values to the existing list (if any). Use
setOwnerIds(java.util.Collection) or withOwnerIds(java.util.Collection) if you want to override
the existing values.
ownerIds - Describes the snapshots owned by these owners.public DescribeSnapshotsRequest withOwnerIds(Collection<String> ownerIds)
Describes the snapshots owned by these owners.
ownerIds - Describes the snapshots owned by these owners.public List<String> getRestorableByUserIds()
The IDs of the AWS accounts that can create volumes from the snapshot.
public void setRestorableByUserIds(Collection<String> restorableByUserIds)
The IDs of the AWS accounts that can create volumes from the snapshot.
restorableByUserIds - The IDs of the AWS accounts that can create volumes from the snapshot.public DescribeSnapshotsRequest withRestorableByUserIds(String... restorableByUserIds)
The IDs of the AWS accounts that can create volumes from the snapshot.
NOTE: This method appends the values to the existing list (if any). Use
setRestorableByUserIds(java.util.Collection) or withRestorableByUserIds(java.util.Collection)
if you want to override the existing values.
restorableByUserIds - The IDs of the AWS accounts that can create volumes from the snapshot.public DescribeSnapshotsRequest withRestorableByUserIds(Collection<String> restorableByUserIds)
The IDs of the AWS accounts that can create volumes from the snapshot.
restorableByUserIds - The IDs of the AWS accounts that can create volumes from the snapshot.public List<String> getSnapshotIds()
The snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
Default: Describes the snapshots for which you have create volume permissions.
public void setSnapshotIds(Collection<String> snapshotIds)
The snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
snapshotIds - The snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
public DescribeSnapshotsRequest withSnapshotIds(String... snapshotIds)
The snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
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 snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
public DescribeSnapshotsRequest withSnapshotIds(Collection<String> snapshotIds)
The snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
snapshotIds - The snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
public Request<DescribeSnapshotsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeSnapshotsRequest>public String toString()
toString in class ObjectObject.toString()public DescribeSnapshotsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.