@Generated(value="software.amazon.awssdk:codegen") public class InstanceAttribute extends Object implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<InstanceAttribute.Builder,InstanceAttribute>
Describes an instance attribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceAttribute.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<InstanceBlockDeviceMapping> |
blockDeviceMappings()
The block device mapping of the instance.
|
static InstanceAttribute.Builder |
builder() |
Boolean |
disableApiTermination()
If the value is
true, you can't terminate the instance through the Amazon EC2 console, CLI, or API;
otherwise, you can. |
Boolean |
ebsOptimized()
Indicates whether the instance is optimized for EBS I/O.
|
Boolean |
enaSupport()
Indicates whether enhanced networking with ENA is enabled.
|
boolean |
equals(Object obj) |
List<GroupIdentifier> |
groups()
The security groups associated with the instance.
|
int |
hashCode() |
String |
instanceId()
The ID of the instance.
|
String |
instanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
String |
instanceType()
The instance type.
|
String |
kernelId()
The kernel ID.
|
List<ProductCode> |
productCodes()
A list of product codes.
|
String |
ramdiskId()
The RAM disk ID.
|
String |
rootDeviceName()
The name of the root device (for example,
/dev/sda1 or /dev/xvda). |
static Class<? extends InstanceAttribute.Builder> |
serializableBuilderClass() |
Boolean |
sourceDestCheck()
Indicates whether source/destination checking is enabled.
|
String |
sriovNetSupport()
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
InstanceAttribute.Builder |
toBuilder() |
String |
toString() |
String |
userData()
The user data.
|
public 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 Boolean 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 Boolean enaSupport()
Indicates whether enhanced networking with ENA is enabled.
public Boolean ebsOptimized()
Indicates whether the instance is optimized for EBS I/O.
public String instanceId()
The ID of the instance.
public String instanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
public String instanceType()
The instance type.
public String 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 String ramdiskId()
The RAM disk ID.
public String rootDeviceName()
The name of the root device (for example, /dev/sda1 or /dev/xvda).
/dev/sda1 or /dev/xvda).public Boolean sourceDestCheck()
Indicates whether source/destination checking is enabled. A value of true means checking is enabled,
and false means checking is disabled. This value must be false for a NAT instance to
perform NAT.
true means checking is
enabled, and false means checking is disabled. This value must be false for a
NAT instance to perform NAT.public String sriovNetSupport()
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
public String userData()
The user data.
public InstanceAttribute.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<InstanceAttribute.Builder,InstanceAttribute>public static InstanceAttribute.Builder builder()
public static Class<? extends InstanceAttribute.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.