|
||||||||||
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.DescribeSnapshotAttributeRequest
public class DescribeSnapshotAttributeRequest
Container for the parameters to the DescribeSnapshotAttribute operation
.
Describes the specified attribute of the specified snapshot. You can specify only one attribute at a time.
For more information about Amazon EBS snapshots, see Amazon EBS Snapshots in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.describeSnapshotAttribute(DescribeSnapshotAttributeRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeSnapshotAttributeRequest()
Default constructor for a new DescribeSnapshotAttributeRequest object. |
|
DescribeSnapshotAttributeRequest(String snapshotId,
SnapshotAttributeName attribute)
Constructs a new DescribeSnapshotAttributeRequest object. |
|
DescribeSnapshotAttributeRequest(String snapshotId,
String attribute)
Constructs a new DescribeSnapshotAttributeRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAttribute()
The snapshot attribute you would like to view. |
Request<DescribeSnapshotAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only. |
String |
getSnapshotId()
The ID of the Amazon EBS snapshot. |
int |
hashCode()
|
void |
setAttribute(SnapshotAttributeName attribute)
The snapshot attribute you would like to view. |
void |
setAttribute(String attribute)
The snapshot attribute you would like to view. |
void |
setSnapshotId(String snapshotId)
The ID of the Amazon EBS snapshot. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeSnapshotAttributeRequest |
withAttribute(SnapshotAttributeName attribute)
The snapshot attribute you would like to view. |
DescribeSnapshotAttributeRequest |
withAttribute(String attribute)
The snapshot attribute you would like to view. |
DescribeSnapshotAttributeRequest |
withSnapshotId(String snapshotId)
The ID of the Amazon EBS snapshot. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeSnapshotAttributeRequest()
public DescribeSnapshotAttributeRequest(String snapshotId, String attribute)
snapshotId
- The ID of the Amazon EBS snapshot.attribute
- The snapshot attribute you would like to view.public DescribeSnapshotAttributeRequest(String snapshotId, SnapshotAttributeName attribute)
snapshotId
- The ID of the Amazon EBS snapshot.attribute
- The snapshot attribute you would like to view.Method Detail |
---|
public String getSnapshotId()
public void setSnapshotId(String snapshotId)
snapshotId
- The ID of the Amazon EBS snapshot.public DescribeSnapshotAttributeRequest withSnapshotId(String snapshotId)
Returns a reference to this object so that method calls can be chained together.
snapshotId
- The ID of the Amazon EBS snapshot.
public String getAttribute()
Constraints:
Allowed Values: productCodes, createVolumePermission
SnapshotAttributeName
public void setAttribute(String attribute)
Constraints:
Allowed Values: productCodes, createVolumePermission
attribute
- The snapshot attribute you would like to view.SnapshotAttributeName
public DescribeSnapshotAttributeRequest withAttribute(String attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: productCodes, createVolumePermission
attribute
- The snapshot attribute you would like to view.
SnapshotAttributeName
public void setAttribute(SnapshotAttributeName attribute)
Constraints:
Allowed Values: productCodes, createVolumePermission
attribute
- The snapshot attribute you would like to view.SnapshotAttributeName
public DescribeSnapshotAttributeRequest withAttribute(SnapshotAttributeName attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: productCodes, createVolumePermission
attribute
- The snapshot attribute you would like to view.
SnapshotAttributeName
public Request<DescribeSnapshotAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSnapshotAttributeRequest>
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 |