public class ResetImageAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable
ResetImageAttribute operation.
The ResetImageAttribute operation resets an attribute of an AMI to its default value.
NOTE: The productCodes attribute cannot be reset.
| コンストラクタと説明 |
|---|
ResetImageAttributeRequest()
Default constructor for a new ResetImageAttributeRequest object.
|
ResetImageAttributeRequest(java.lang.String imageId,
java.lang.String attribute)
Constructs a new ResetImageAttributeRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttribute()
The name of the attribute being reset.
|
java.lang.String |
getImageId()
The ID of the AMI whose attribute is being reset.
|
int |
hashCode() |
void |
setAttribute(java.lang.String attribute)
The name of the attribute being reset.
|
void |
setImageId(java.lang.String imageId)
The ID of the AMI whose attribute is being reset.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResetImageAttributeRequest |
withAttribute(java.lang.String attribute)
The name of the attribute being reset.
|
ResetImageAttributeRequest |
withImageId(java.lang.String imageId)
The ID of the AMI whose attribute is being reset.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ResetImageAttributeRequest()
public ResetImageAttributeRequest(java.lang.String imageId,
java.lang.String attribute)
imageId - The ID of the AMI whose attribute is being reset.attribute - The name of the attribute being reset. Available
attribute names: launchPermission
public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId - The ID of the AMI whose attribute is being reset.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 whose attribute is being reset.public java.lang.String getAttribute()
Available attribute names:
launchPermission
Available attribute names:
launchPermission
public void setAttribute(java.lang.String attribute)
Available attribute names:
launchPermission
attribute - The name of the attribute being reset. Available attribute names:
launchPermission
public ResetImageAttributeRequest withAttribute(java.lang.String attribute)
Available attribute names:
launchPermission
Returns a reference to this object so that method calls can be chained together.
attribute - The name of the attribute being reset. Available attribute names:
launchPermission
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object