@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSnapshotAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeSnapshotAttributeRequest>
Contains the parameters for DescribeSnapshotAttribute.
NOOP
Constructor and Description |
---|
DescribeSnapshotAttributeRequest()
Default constructor for DescribeSnapshotAttributeRequest object.
|
DescribeSnapshotAttributeRequest(String snapshotId,
SnapshotAttributeName attribute)
Constructs a new DescribeSnapshotAttributeRequest object.
|
DescribeSnapshotAttributeRequest(String snapshotId,
String attribute)
Constructs a new DescribeSnapshotAttributeRequest object.
|
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 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 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 EBS snapshot.
|
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 DescribeSnapshotAttributeRequest()
public DescribeSnapshotAttributeRequest(String snapshotId, String attribute)
snapshotId
- The ID of the EBS snapshot.attribute
- The snapshot attribute you would like to view.public DescribeSnapshotAttributeRequest(String snapshotId, SnapshotAttributeName attribute)
snapshotId
- The ID of the EBS snapshot.attribute
- The snapshot attribute you would like to view.public void setAttribute(String attribute)
The snapshot attribute you would like to view.
attribute
- The snapshot attribute you would like to view.SnapshotAttributeName
public String getAttribute()
The snapshot attribute you would like to view.
SnapshotAttributeName
public DescribeSnapshotAttributeRequest withAttribute(String attribute)
The snapshot attribute you would like to view.
attribute
- The snapshot attribute you would like to view.SnapshotAttributeName
public void setAttribute(SnapshotAttributeName attribute)
The snapshot attribute you would like to view.
attribute
- The snapshot attribute you would like to view.SnapshotAttributeName
public DescribeSnapshotAttributeRequest withAttribute(SnapshotAttributeName attribute)
The snapshot attribute you would like to view.
attribute
- The snapshot attribute you would like to view.SnapshotAttributeName
public void setSnapshotId(String snapshotId)
The ID of the EBS snapshot.
snapshotId
- The ID of the EBS snapshot.public String getSnapshotId()
The ID of the EBS snapshot.
public DescribeSnapshotAttributeRequest withSnapshotId(String snapshotId)
The ID of the EBS snapshot.
snapshotId
- The ID of the EBS snapshot.public Request<DescribeSnapshotAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSnapshotAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeSnapshotAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.