Package com.amazonaws.services.ec2.model
Class ResetImageAttributeRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ResetImageAttributeRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<ResetImageAttributeRequest>
,Serializable
,Cloneable
public class ResetImageAttributeRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable, DryRunSupportedRequest<ResetImageAttributeRequest>
Contains the parameters for ResetImageAttribute.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ResetImageAttributeRequest object.ResetImageAttributeRequest
(String imageId, ResetImageAttributeName attribute) Constructs a new ResetImageAttributeRequest object.ResetImageAttributeRequest
(String imageId, String attribute) Constructs a new ResetImageAttributeRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The attribute to reset (currently you can only reset the launch permission attribute).This method is intended for internal use only.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAttribute
(ResetImageAttributeName attribute) The attribute to reset (currently you can only reset the launch permission attribute).withAttribute
(String attribute) The attribute to reset (currently you can only reset the launch permission attribute).withImageId
(String imageId) The ID of the AMI.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ResetImageAttributeRequest
public ResetImageAttributeRequest()Default constructor for ResetImageAttributeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ResetImageAttributeRequest
Constructs a new ResetImageAttributeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
imageId
- The ID of the AMI.attribute
- The attribute to reset (currently you can only reset the launch permission attribute).
-
ResetImageAttributeRequest
Constructs a new ResetImageAttributeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
imageId
- The ID of the AMI.attribute
- The attribute to reset (currently you can only reset the launch permission attribute).
-
-
Method Details
-
setImageId
The ID of the AMI.
- Parameters:
imageId
- The ID of the AMI.
-
getImageId
The ID of the AMI.
- Returns:
- The ID of the AMI.
-
withImageId
The ID of the AMI.
- Parameters:
imageId
- The ID of the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttribute
The attribute to reset (currently you can only reset the launch permission attribute).
- Parameters:
attribute
- The attribute to reset (currently you can only reset the launch permission attribute).- See Also:
-
getAttribute
The attribute to reset (currently you can only reset the launch permission attribute).
- Returns:
- The attribute to reset (currently you can only reset the launch permission attribute).
- See Also:
-
withAttribute
The attribute to reset (currently you can only reset the launch permission attribute).
- Parameters:
attribute
- The attribute to reset (currently you can only reset the launch permission attribute).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAttribute
The attribute to reset (currently you can only reset the launch permission attribute).
- Parameters:
attribute
- The attribute to reset (currently you can only reset the launch permission attribute).- See Also:
-
withAttribute
The attribute to reset (currently you can only reset the launch permission attribute).
- Parameters:
attribute
- The attribute to reset (currently you can only reset the launch permission attribute).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<ResetImageAttributeRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-