Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.amazonaws.services.ec2.model
Class DescribeInstanceAttributeRequest

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

    public class DescribeInstanceAttributeRequest

extends AmazonWebServiceRequest

Container for the parameters to the `DescribeInstanceAttribute operation`.

Returns information about an attribute of an instance. Only one attribute can be specified per call.

See Also:
  `AmazonEC2.describeInstanceAttribute(DescribeInstanceAttributeRequest)`

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()` 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

### 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()

  Returns a string representation of this object; useful for testing and debugging.

  Overrides:
    `toString` in class `Object`
  Returns:
    A string representation of this object.
  See Also:
    `Object.toString()`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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