|
|||||||
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
Container for the parameters to the DescribeInstanceAttribute operation
.
Returns information about an attribute of an instance. Only one attribute can be specified per call.
AmazonEC2.describeInstanceAttribute(DescribeInstanceAttributeRequest)
Constructor Summary | |
---|---|
DescribeInstanceAttributeRequest()
Default constructor for a new DescribeInstanceAttributeRequest object. |
|
DescribeInstanceAttributeRequest(String instanceId,
String attribute)
Constructs a new DescribeInstanceAttributeRequest object. |
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()
Returns a string representation of this object; useful for testing and debugging. |
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()
public DescribeInstanceAttributeRequest(String instanceId, String attribute)
instanceId
- The ID of the instance whose instance attribute is
being described.attribute
- The name of the attribute to describe. Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping
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
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |