|
||||||||||
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.DescribeInstanceAttributeRequest
public class DescribeInstanceAttributeRequest
A request to describe an attribute of one of a user's EC2 instances. Only one attribute can be specified per call.
Constructor Summary | |
---|---|
DescribeInstanceAttributeRequest()
|
Method Summary | |
---|---|
String |
getAttribute()
The name of the attribute to describe. |
String |
getInstanceId()
The ID of the instance whose instance attribute is being described. |
void |
setAttribute(String attribute)
The name of the attribute to describe. |
void |
setInstanceId(String instanceId)
The ID of the instance whose instance attribute is being described. |
String |
toString()
|
DescribeInstanceAttributeRequest |
withAttribute(String attribute)
The name of the attribute to describe. |
DescribeInstanceAttributeRequest |
withInstanceId(String instanceId)
The ID of the instance whose instance attribute is being described. |
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 DescribeInstanceAttributeRequest()
Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of the instance whose instance attribute is being described.public DescribeInstanceAttributeRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance whose instance attribute is being described.
public String getAttribute()
Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping
Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping
public void setAttribute(String attribute)
Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping
attribute
- The name of the attribute to describe. Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping
public DescribeInstanceAttributeRequest withAttribute(String attribute)
Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping
Returns a reference to this object so that method calls can be chained together.
attribute
- The name of the attribute to describe. Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |