@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResetSnapshotAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ResetSnapshotAttributeRequest>
Contains the parameters for ResetSnapshotAttribute.
NOOP
Constructor and Description |
---|
ResetSnapshotAttributeRequest()
Default constructor for ResetSnapshotAttributeRequest object.
|
ResetSnapshotAttributeRequest(String snapshotId,
SnapshotAttributeName attribute)
Constructs a new ResetSnapshotAttributeRequest object.
|
ResetSnapshotAttributeRequest(String snapshotId,
String attribute)
Constructs a new ResetSnapshotAttributeRequest object.
|
Modifier and Type | Method and Description |
---|---|
ResetSnapshotAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttribute()
The attribute to reset.
|
Request<ResetSnapshotAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getSnapshotId()
The ID of the snapshot.
|
int |
hashCode() |
void |
setAttribute(SnapshotAttributeName attribute)
The attribute to reset.
|
void |
setAttribute(String attribute)
The attribute to reset.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResetSnapshotAttributeRequest |
withAttribute(SnapshotAttributeName attribute)
The attribute to reset.
|
ResetSnapshotAttributeRequest |
withAttribute(String attribute)
The attribute to reset.
|
ResetSnapshotAttributeRequest |
withSnapshotId(String snapshotId)
The ID of the 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 ResetSnapshotAttributeRequest()
public ResetSnapshotAttributeRequest(String snapshotId, String attribute)
snapshotId
- The ID of the snapshot.attribute
- The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.public ResetSnapshotAttributeRequest(String snapshotId, SnapshotAttributeName attribute)
snapshotId
- The ID of the snapshot.attribute
- The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.public void setAttribute(String attribute)
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
attribute
- The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.SnapshotAttributeName
public String getAttribute()
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
SnapshotAttributeName
public ResetSnapshotAttributeRequest withAttribute(String attribute)
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
attribute
- The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.SnapshotAttributeName
public void setAttribute(SnapshotAttributeName attribute)
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
attribute
- The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.SnapshotAttributeName
public ResetSnapshotAttributeRequest withAttribute(SnapshotAttributeName attribute)
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
attribute
- The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.SnapshotAttributeName
public void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public ResetSnapshotAttributeRequest withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public Request<ResetSnapshotAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ResetSnapshotAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public ResetSnapshotAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.