@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResetImageAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ResetImageAttributeRequest>
Contains the parameters for ResetImageAttribute.
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()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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 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 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).ResetImageAttributeName
public String getAttribute()
The attribute to reset (currently you can only reset the launch permission attribute).
ResetImageAttributeName
public 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).ResetImageAttributeName
public 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).ResetImageAttributeName
public 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).ResetImageAttributeName
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 Request<ResetImageAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ResetImageAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public ResetImageAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.