@Generated(value="software.amazon.awssdk:codegen") public class InstanceAttribute extends Object implements 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 Amazon EBS I/O.
|
Boolean |
enaSupport()
Indicates whether enhanced networking with ENA is enabled.
|
boolean |
equals(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.
|
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 device name of the root device volume (for example,
/dev/sda1 ). |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userData()
The user data.
|
copy
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 Amazon 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 device name of the root device volume (for example, /dev/sda1
).
/dev/sda1
).public Boolean 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 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceAttribute.Builder,InstanceAttribute>
public static InstanceAttribute.Builder builder()
public static Class<? extends InstanceAttribute.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.