|
||||||||||
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.ResetInstanceAttributeRequest
public class ResetInstanceAttributeRequest
A request to reset an attribute on an Amazon EC2 instance back to its default value. Only one attribute can be reset per request.
Constructor Summary | |
---|---|
ResetInstanceAttributeRequest()
|
Method Summary | |
---|---|
String |
getAttribute()
The name of the attribute being reset. |
String |
getInstanceId()
The ID of the Amazon EC2 instance whose attribute is being reset. |
void |
setAttribute(String attribute)
The name of the attribute being reset. |
void |
setInstanceId(String instanceId)
The ID of the Amazon EC2 instance whose attribute is being reset. |
String |
toString()
|
ResetInstanceAttributeRequest |
withAttribute(String attribute)
The name of the attribute being reset. |
ResetInstanceAttributeRequest |
withInstanceId(String instanceId)
The ID of the Amazon EC2 instance 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 ResetInstanceAttributeRequest()
Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of the Amazon EC2 instance whose attribute is being reset.public ResetInstanceAttributeRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the Amazon EC2 instance whose attribute is being reset.
public String getAttribute()
Available attribute names: kernel, ramdisk
Available attribute names: kernel, ramdisk
public void setAttribute(String attribute)
Available attribute names: kernel, ramdisk
attribute
- The name of the attribute being reset. Available attribute names: kernel, ramdisk
public ResetInstanceAttributeRequest withAttribute(String attribute)
Available attribute names: kernel, ramdisk
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: kernel, ramdisk
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |