public class ResetImageAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ResetImageAttributeRequest>
NOOP| Constructor and Description |
|---|
ResetImageAttributeRequest()
Default constructor for ResetImageAttributeRequest object.
|
ResetImageAttributeRequest(String imageId,
ResetImageAttributeName attribute)
Constructs a new ResetImageAttributeRequest object.
|
ResetImageAttributeRequest(String imageId,
String attribute)
Constructs a new ResetImageAttributeRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
ResetImageAttributeRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The attribute to reset (currently you can only reset the launch
permission attribute).
|
Request<ResetImageAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getImageId()
The ID of the AMI.
|
int |
hashCode() |
void |
setAttribute(ResetImageAttributeName attribute)
The attribute to reset (currently you can only reset the launch
permission attribute).
|
void |
setAttribute(String attribute)
The attribute to reset (currently you can only reset the launch
permission attribute).
|
void |
setImageId(String imageId)
The ID of the AMI.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResetImageAttributeRequest |
withAttribute(ResetImageAttributeName attribute)
The attribute to reset (currently you can only reset the launch
permission attribute).
|
ResetImageAttributeRequest |
withAttribute(String attribute)
The attribute to reset (currently you can only reset the launch
permission attribute).
|
ResetImageAttributeRequest |
withImageId(String imageId)
The ID of the AMI.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ResetImageAttributeRequest()
public ResetImageAttributeRequest(String imageId, String attribute)
imageId - The ID of the AMI.attribute - The attribute to reset (currently you can only reset the launch
permission attribute).public ResetImageAttributeRequest(String imageId, ResetImageAttributeName attribute)
imageId - The ID of the AMI.attribute - The attribute to reset (currently you can only reset the launch
permission attribute).public void setImageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.public String getImageId()
The ID of the AMI.
public ResetImageAttributeRequest withImageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.public void setAttribute(String attribute)
The attribute to reset (currently you can only reset the launch permission attribute).
attribute - The attribute to reset (currently you can only reset the launch
permission attribute).ResetImageAttributeNamepublic String getAttribute()
The attribute to reset (currently you can only reset the launch permission attribute).
ResetImageAttributeNamepublic ResetImageAttributeRequest withAttribute(String attribute)
The attribute to reset (currently you can only reset the launch permission attribute).
attribute - The attribute to reset (currently you can only reset the launch
permission attribute).ResetImageAttributeNamepublic void setAttribute(ResetImageAttributeName attribute)
The attribute to reset (currently you can only reset the launch permission attribute).
attribute - The attribute to reset (currently you can only reset the launch
permission attribute).ResetImageAttributeNamepublic ResetImageAttributeRequest withAttribute(ResetImageAttributeName attribute)
The attribute to reset (currently you can only reset the launch permission attribute).
attribute - The attribute to reset (currently you can only reset the launch
permission attribute).ResetImageAttributeNamepublic Request<ResetImageAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ResetImageAttributeRequest>public String toString()
toString in class ObjectObject.toString()public ResetImageAttributeRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.