public class DescribeInstanceAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeInstanceAttribute operation.
Returns information about an attribute of an instance. Only one attribute can be specified per call.
| コンストラクタと説明 |
|---|
DescribeInstanceAttributeRequest()
Default constructor for a new DescribeInstanceAttributeRequest object.
|
DescribeInstanceAttributeRequest(java.lang.String instanceId,
InstanceAttributeName attribute)
Constructs a new DescribeInstanceAttributeRequest object.
|
DescribeInstanceAttributeRequest(java.lang.String instanceId,
java.lang.String attribute)
Constructs a new DescribeInstanceAttributeRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttribute()
The name of the attribute to describe.
|
java.lang.String |
getInstanceId()
The ID of the instance whose instance attribute is being described.
|
int |
hashCode() |
void |
setAttribute(InstanceAttributeName attribute)
The name of the attribute to describe.
|
void |
setAttribute(java.lang.String attribute)
The name of the attribute to describe.
|
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance whose instance attribute is being described.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstanceAttributeRequest |
withAttribute(InstanceAttributeName attribute)
The name of the attribute to describe.
|
DescribeInstanceAttributeRequest |
withAttribute(java.lang.String attribute)
The name of the attribute to describe.
|
DescribeInstanceAttributeRequest |
withInstanceId(java.lang.String instanceId)
The ID of the instance whose instance attribute is being described.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeInstanceAttributeRequest()
public DescribeInstanceAttributeRequest(java.lang.String instanceId,
java.lang.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
public DescribeInstanceAttributeRequest(java.lang.String instanceId,
InstanceAttributeName 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
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - The ID of the instance whose instance attribute is being described.public DescribeInstanceAttributeRequest withInstanceId(java.lang.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 java.lang.String getAttribute()
Available attribute names:
instanceType, kernel, ramdisk,
userData, disableApiTermination,
instanceInitiatedShutdownBehavior,
rootDeviceName, blockDeviceMapping
Constraints:
Allowed Values: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized
Available attribute names:
instanceType, kernel, ramdisk,
userData, disableApiTermination,
instanceInitiatedShutdownBehavior,
rootDeviceName, blockDeviceMapping
InstanceAttributeNamepublic void setAttribute(java.lang.String attribute)
Available attribute names:
instanceType, kernel, ramdisk,
userData, disableApiTermination,
instanceInitiatedShutdownBehavior,
rootDeviceName, blockDeviceMapping
Constraints:
Allowed Values: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized
attribute - The name of the attribute to describe. Available attribute names:
instanceType, kernel, ramdisk,
userData, disableApiTermination,
instanceInitiatedShutdownBehavior,
rootDeviceName, blockDeviceMapping
InstanceAttributeNamepublic DescribeInstanceAttributeRequest withAttribute(java.lang.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.
Constraints:
Allowed Values: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized
attribute - The name of the attribute to describe. Available attribute names:
instanceType, kernel, ramdisk,
userData, disableApiTermination,
instanceInitiatedShutdownBehavior,
rootDeviceName, blockDeviceMapping
InstanceAttributeNamepublic void setAttribute(InstanceAttributeName attribute)
Available attribute names:
instanceType, kernel, ramdisk,
userData, disableApiTermination,
instanceInitiatedShutdownBehavior,
rootDeviceName, blockDeviceMapping
Constraints:
Allowed Values: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized
attribute - The name of the attribute to describe. Available attribute names:
instanceType, kernel, ramdisk,
userData, disableApiTermination,
instanceInitiatedShutdownBehavior,
rootDeviceName, blockDeviceMapping
InstanceAttributeNamepublic DescribeInstanceAttributeRequest withAttribute(InstanceAttributeName 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.
Constraints:
Allowed Values: instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized
attribute - The name of the attribute to describe. Available attribute names:
instanceType, kernel, ramdisk,
userData, disableApiTermination,
instanceInitiatedShutdownBehavior,
rootDeviceName, blockDeviceMapping
InstanceAttributeNamepublic java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object