@Generated(value="software.amazon.awssdk:codegen") public final class DescribeInstanceAttributeResponse extends Ec2Response implements ToCopyableBuilder<DescribeInstanceAttributeResponse.Builder,DescribeInstanceAttributeResponse>
Describes an instance attribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeInstanceAttributeResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<InstanceBlockDeviceMapping> |
blockDeviceMappings()
The block device mapping of the instance.
|
static DescribeInstanceAttributeResponse.Builder |
builder() |
AttributeBooleanValue |
disableApiTermination()
If the value is
true, you can't terminate the instance through the Amazon EC2 console, CLI, or API;
otherwise, you can. |
AttributeBooleanValue |
ebsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
|
AttributeBooleanValue |
enaSupport()
Indicates whether enhanced networking with ENA is enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<GroupIdentifier> |
groups()
The security groups associated with the instance.
|
int |
hashCode() |
String |
instanceId()
The ID of the instance.
|
AttributeValue |
instanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
AttributeValue |
instanceType()
The instance type.
|
AttributeValue |
kernelId()
The kernel ID.
|
List<ProductCode> |
productCodes()
A list of product codes.
|
AttributeValue |
ramdiskId()
The RAM disk ID.
|
AttributeValue |
rootDeviceName()
The device name of the root device volume (for example,
/dev/sda1). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeInstanceAttributeResponse.Builder> |
serializableBuilderClass() |
AttributeBooleanValue |
sourceDestCheck()
Indicates whether source/destination checking is enabled.
|
AttributeValue |
sriovNetSupport()
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
DescribeInstanceAttributeResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AttributeValue |
userData()
The user data.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<GroupIdentifier> groups()
The security groups associated with the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<InstanceBlockDeviceMapping> blockDeviceMappings()
The block device mapping of the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AttributeBooleanValue disableApiTermination()
If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API;
otherwise, you can.
true, you can't terminate the instance through the Amazon EC2 console, CLI,
or API; otherwise, you can.public AttributeBooleanValue enaSupport()
Indicates whether enhanced networking with ENA is enabled.
public AttributeBooleanValue ebsOptimized()
Indicates whether the instance is optimized for Amazon EBS I/O.
public String instanceId()
The ID of the instance.
public AttributeValue instanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
public AttributeValue instanceType()
The instance type.
public AttributeValue kernelId()
The kernel ID.
public List<ProductCode> productCodes()
A list of product codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AttributeValue ramdiskId()
The RAM disk ID.
public AttributeValue rootDeviceName()
The device name of the root device volume (for example, /dev/sda1).
/dev/sda1).public AttributeBooleanValue sourceDestCheck()
Indicates whether source/destination checking is enabled. A value of true means that checking is
enabled, and false means that checking is disabled. This value must be false for a NAT
instance to perform NAT.
true means that
checking is enabled, and false means that checking is disabled. This value must be
false for a NAT instance to perform NAT.public AttributeValue sriovNetSupport()
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
public AttributeValue userData()
The user data.
public DescribeInstanceAttributeResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeInstanceAttributeResponse.Builder,DescribeInstanceAttributeResponse>toBuilder in class AwsResponsepublic static DescribeInstanceAttributeResponse.Builder builder()
public static Class<? extends DescribeInstanceAttributeResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.