|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeSnapshotsRequest
public class DescribeSnapshotsRequest
Container for the parameters to the 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.
AmazonEC2.describeSnapshots(DescribeSnapshotsRequest)
Constructor Summary | |
---|---|
DescribeSnapshotsRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<Filter> |
getFilters()
A list of filters used to match properties for Snapshots. |
List<String> |
getOwnerIds()
The optional list of EBS snapshot owners. |
List<String> |
getRestorableByUserIds()
The optional list of users who have permission to create volumes from the described EBS snapshots. |
List<String> |
getSnapshotIds()
The optional list of EBS snapshot IDs to describe. |
int |
hashCode()
|
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for Snapshots. |
void |
setOwnerIds(Collection<String> ownerIds)
The optional list of EBS snapshot owners. |
void |
setRestorableByUserIds(Collection<String> restorableByUserIds)
The optional list of users who have permission to create volumes from the described EBS snapshots. |
void |
setSnapshotIds(Collection<String> snapshotIds)
The optional list of EBS snapshot IDs to describe. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeSnapshotsRequest |
withFilters(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(Collection<String> ownerIds)
The optional list of EBS snapshot owners. |
DescribeSnapshotsRequest |
withOwnerIds(String... ownerIds)
The optional list of EBS snapshot owners. |
DescribeSnapshotsRequest |
withRestorableByUserIds(Collection<String> restorableByUserIds)
The optional list of users who have permission to create volumes from the described EBS snapshots. |
DescribeSnapshotsRequest |
withRestorableByUserIds(String... restorableByUserIds)
The optional list of users who have permission to create volumes from the described EBS snapshots. |
DescribeSnapshotsRequest |
withSnapshotIds(Collection<String> snapshotIds)
The optional list of EBS snapshot IDs to describe. |
DescribeSnapshotsRequest |
withSnapshotIds(String... snapshotIds)
The optional list of EBS snapshot IDs to describe. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeSnapshotsRequest()
Method Detail |
---|
public List<String> getSnapshotIds()
public void setSnapshotIds(Collection<String> snapshotIds)
snapshotIds
- The optional list of EBS snapshot IDs to describe.public DescribeSnapshotsRequest withSnapshotIds(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(Collection<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 List<String> getOwnerIds()
public void setOwnerIds(Collection<String> ownerIds)
ownerIds
- The optional list of EBS snapshot owners.public DescribeSnapshotsRequest withOwnerIds(String... ownerIds)
Returns a reference to this object so that method calls can be chained together.
ownerIds
- The optional list of EBS snapshot owners.
public DescribeSnapshotsRequest withOwnerIds(Collection<String> ownerIds)
Returns a reference to this object so that method calls can be chained together.
ownerIds
- The optional list of EBS snapshot owners.
public List<String> getRestorableByUserIds()
public void setRestorableByUserIds(Collection<String> restorableByUserIds)
restorableByUserIds
- The optional list of users who have permission to create volumes from
the described EBS snapshots.public DescribeSnapshotsRequest withRestorableByUserIds(String... restorableByUserIds)
Returns a reference to this object so that method calls can be chained together.
restorableByUserIds
- The optional list of users who have permission to create volumes from
the described EBS snapshots.
public DescribeSnapshotsRequest withRestorableByUserIds(Collection<String> restorableByUserIds)
Returns a reference to this object so that method calls can be chained together.
restorableByUserIds
- The optional list of users who have permission to create volumes from
the described EBS snapshots.
public List<Filter> getFilters()
public void setFilters(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(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |