|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ResetImageAttributeRequest
public class ResetImageAttributeRequest
Container for the parameters to the ResetImageAttribute operation
.
Resets an attribute of an AMI to its default value.
AmazonEC2.resetImageAttribute(ResetImageAttributeRequest)
,
Serialized FormConstructor Summary | |
---|---|
ResetImageAttributeRequest()
Default constructor for a new ResetImageAttributeRequest object. |
|
ResetImageAttributeRequest(java.lang.String imageId,
ResetImageAttributeName attribute)
Constructs a new ResetImageAttributeRequest object. |
|
ResetImageAttributeRequest(java.lang.String imageId,
java.lang.String attribute)
Constructs a new ResetImageAttributeRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.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. |
java.lang.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(java.lang.String attribute)
The attribute to reset (currently you can only reset the launch permission attribute). |
void |
setImageId(java.lang.String imageId)
The ID of the AMI. |
java.lang.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(java.lang.String attribute)
The attribute to reset (currently you can only reset the launch permission attribute). |
ResetImageAttributeRequest |
withImageId(java.lang.String imageId)
The ID of the AMI. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResetImageAttributeRequest()
public ResetImageAttributeRequest(java.lang.String imageId, java.lang.String attribute)
imageId
- The ID of the AMI.attribute
- The attribute to reset (currently you can only reset
the launch permission attribute).public ResetImageAttributeRequest(java.lang.String imageId, ResetImageAttributeName attribute)
imageId
- The ID of the AMI.attribute
- The attribute to reset (currently you can only reset
the launch permission attribute).Method Detail |
---|
public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId
- The ID of the AMI.public ResetImageAttributeRequest withImageId(java.lang.String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId
- The ID of the AMI.
public java.lang.String getAttribute()
Constraints:
Allowed Values: launchPermission
ResetImageAttributeName
public void setAttribute(java.lang.String attribute)
Constraints:
Allowed Values: launchPermission
attribute
- The attribute to reset (currently you can only reset the launch
permission attribute).ResetImageAttributeName
public ResetImageAttributeRequest withAttribute(java.lang.String attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: launchPermission
attribute
- The attribute to reset (currently you can only reset the launch
permission attribute).
ResetImageAttributeName
public void setAttribute(ResetImageAttributeName attribute)
Constraints:
Allowed Values: launchPermission
attribute
- The attribute to reset (currently you can only reset the launch
permission attribute).ResetImageAttributeName
public ResetImageAttributeRequest withAttribute(ResetImageAttributeName attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: launchPermission
attribute
- The attribute to reset (currently you can only reset the launch
permission attribute).
ResetImageAttributeName
public Request<ResetImageAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ResetImageAttributeRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |