com.amazonaws.services.ec2.model
Class DescribeInstanceAttributeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeInstanceAttributeRequest

public class DescribeInstanceAttributeRequest
extends AmazonWebServiceRequest

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

DescribeInstanceAttributeRequest

public DescribeInstanceAttributeRequest()
Method Detail

getInstanceId

public String getInstanceId()
The ID of the instance whose instance attribute is being described.

Returns:
The ID of the instance whose instance attribute is being described.

setInstanceId

public void setInstanceId(String instanceId)
The ID of the instance whose instance attribute is being described.

Parameters:
instanceId - The ID of the instance whose instance attribute is being described.

withInstanceId

public DescribeInstanceAttributeRequest withInstanceId(String instanceId)
The ID of the instance whose instance attribute is being described.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The ID of the instance whose instance attribute is being described.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttribute

public String getAttribute()
The name of the attribute to describe.

Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping

Returns:
The name of the attribute to describe.

Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping


setAttribute

public void setAttribute(String attribute)
The name of the attribute to describe.

Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping

Parameters:
attribute - The name of the attribute to describe.

Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping


withAttribute

public DescribeInstanceAttributeRequest withAttribute(String attribute)
The name of the attribute to describe.

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.

Parameters:
attribute - The name of the attribute to describe.

Available attribute names: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.