public class DescribeSnapshotsRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeSnapshots operation.
Returns information about the Amazon EBS snapshots available to you. Snapshots available to you include public snapshots available for any AWS account to launch, private snapshots you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions.
| コンストラクタと説明 |
|---|
DescribeSnapshotsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for Snapshots.
|
java.util.List<java.lang.String> |
getOwnerIds()
An optional list of owners by which to scope the described EBS
snapshots.
|
java.util.List<java.lang.String> |
getRestorableByUserIds()
An optional list of users.
|
java.util.List<java.lang.String> |
getSnapshotIds()
The optional list of EBS snapshot IDs to describe.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for Snapshots.
|
void |
setOwnerIds(java.util.Collection<java.lang.String> ownerIds)
An optional list of owners by which to scope the described EBS
snapshots.
|
void |
setRestorableByUserIds(java.util.Collection<java.lang.String> restorableByUserIds)
An optional list of users.
|
void |
setSnapshotIds(java.util.Collection<java.lang.String> snapshotIds)
The optional list of EBS snapshot IDs to describe.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSnapshotsRequest |
withFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for Snapshots.
|
DescribeSnapshotsRequest |
withFilters(Filter... filters)
A list of filters used to match properties for Snapshots.
|
DescribeSnapshotsRequest |
withOwnerIds(java.util.Collection<java.lang.String> ownerIds)
An optional list of owners by which to scope the described EBS
snapshots.
|
DescribeSnapshotsRequest |
withOwnerIds(java.lang.String... ownerIds)
An optional list of owners by which to scope the described EBS
snapshots.
|
DescribeSnapshotsRequest |
withRestorableByUserIds(java.util.Collection<java.lang.String> restorableByUserIds)
An optional list of users.
|
DescribeSnapshotsRequest |
withRestorableByUserIds(java.lang.String... restorableByUserIds)
An optional list of users.
|
DescribeSnapshotsRequest |
withSnapshotIds(java.util.Collection<java.lang.String> snapshotIds)
The optional list of EBS snapshot IDs to describe.
|
DescribeSnapshotsRequest |
withSnapshotIds(java.lang.String... snapshotIds)
The optional list of EBS snapshot IDs to describe.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.util.List<java.lang.String> getSnapshotIds()
public void setSnapshotIds(java.util.Collection<java.lang.String> snapshotIds)
snapshotIds - The optional list of EBS snapshot IDs to describe.public DescribeSnapshotsRequest withSnapshotIds(java.lang.String... snapshotIds)
Returns a reference to this object so that method calls can be chained together.
snapshotIds - The optional list of EBS snapshot IDs to describe.public DescribeSnapshotsRequest withSnapshotIds(java.util.Collection<java.lang.String> snapshotIds)
Returns a reference to this object so that method calls can be chained together.
snapshotIds - The optional list of EBS snapshot IDs to describe.public java.util.List<java.lang.String> getOwnerIds()
self : Snapshots owned
by you AWS account ID : Snapshots owned by this account ID
amazon : Snapshots owned by Amazon The values
self and amazon are literals.
self : Snapshots owned
by you AWS account ID : Snapshots owned by this account ID
amazon : Snapshots owned by Amazon The values
self and amazon are literals.
public void setOwnerIds(java.util.Collection<java.lang.String> ownerIds)
self : Snapshots owned
by you AWS account ID : Snapshots owned by this account ID
amazon : Snapshots owned by Amazon The values
self and amazon are literals.
ownerIds - An optional list of owners by which to scope the described EBS
snapshots. Valid values are: self : Snapshots owned
by you AWS account ID : Snapshots owned by this account ID
amazon : Snapshots owned by Amazon The values
self and amazon are literals.
public DescribeSnapshotsRequest withOwnerIds(java.lang.String... ownerIds)
self : Snapshots owned
by you AWS account ID : Snapshots owned by this account ID
amazon : Snapshots owned by Amazon The values
self and amazon are literals.
Returns a reference to this object so that method calls can be chained together.
ownerIds - An optional list of owners by which to scope the described EBS
snapshots. Valid values are: self : Snapshots owned
by you AWS account ID : Snapshots owned by this account ID
amazon : Snapshots owned by Amazon The values
self and amazon are literals.
public DescribeSnapshotsRequest withOwnerIds(java.util.Collection<java.lang.String> ownerIds)
self : Snapshots owned
by you AWS account ID : Snapshots owned by this account ID
amazon : Snapshots owned by Amazon The values
self and amazon are literals.
Returns a reference to this object so that method calls can be chained together.
ownerIds - An optional list of owners by which to scope the described EBS
snapshots. Valid values are: self : Snapshots owned
by you AWS account ID : Snapshots owned by this account ID
amazon : Snapshots owned by Amazon The values
self and amazon are literals.
public java.util.List<java.lang.String> getRestorableByUserIds()
public void setRestorableByUserIds(java.util.Collection<java.lang.String> restorableByUserIds)
restorableByUserIds - An optional list of users. The described snapshots are scoped to only
those snapshots from which these users can create volumes.public DescribeSnapshotsRequest withRestorableByUserIds(java.lang.String... restorableByUserIds)
Returns a reference to this object so that method calls can be chained together.
restorableByUserIds - An optional list of users. The described snapshots are scoped to only
those snapshots from which these users can create volumes.public DescribeSnapshotsRequest withRestorableByUserIds(java.util.Collection<java.lang.String> restorableByUserIds)
Returns a reference to this object so that method calls can be chained together.
restorableByUserIds - An optional list of users. The described snapshots are scoped to only
those snapshots from which these users can create volumes.public java.util.List<Filter> getFilters()
public void setFilters(java.util.Collection<Filter> filters)
filters - A list of filters used to match properties for Snapshots. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeSnapshotsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters - A list of filters used to match properties for Snapshots. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeSnapshotsRequest withFilters(java.util.Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters - A list of filters used to match properties for Snapshots. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object