|
||||||||||
| 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
A request to reset an attribute on an Amazon Machine Image (AMI) back to its default value. Only one attribute can be reset per request.
| Constructor Summary | |
|---|---|
ResetImageAttributeRequest()
|
|
| Method Summary | |
|---|---|
String |
getAttribute()
The name of the attribute being reset. |
String |
getImageId()
The ID of the AMI whose attribute is being reset. |
void |
setAttribute(String attribute)
The name of the attribute being reset. |
void |
setImageId(String imageId)
The ID of the AMI whose attribute is being reset. |
String |
toString()
|
ResetImageAttributeRequest |
withAttribute(String attribute)
The name of the attribute being reset. |
ResetImageAttributeRequest |
withImageId(String imageId)
The ID of the AMI whose attribute is being reset. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResetImageAttributeRequest()
| Method Detail |
|---|
public String getImageId()
public void setImageId(String imageId)
imageId - The ID of the AMI whose attribute is being reset.public ResetImageAttributeRequest withImageId(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 String getAttribute()
Available attribute names: launchPermission
Available attribute names: launchPermission
public void setAttribute(String attribute)
Available attribute names: launchPermission
attribute - The name of the attribute being reset. Available attribute names: launchPermission
public ResetImageAttributeRequest withAttribute(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 String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||