@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyInstanceAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyInstanceAttributeRequest>
Contains the parameters for ModifyInstanceAttribute.
NOOP
Constructor and Description |
---|
ModifyInstanceAttributeRequest()
Default constructor for ModifyInstanceAttributeRequest object.
|
ModifyInstanceAttributeRequest(String instanceId,
InstanceAttributeName attribute)
Constructs a new ModifyInstanceAttributeRequest object.
|
ModifyInstanceAttributeRequest(String instanceId,
String attribute)
Constructs a new ModifyInstanceAttributeRequest object.
|
Modifier and Type | Method and Description |
---|---|
ModifyInstanceAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttribute()
The name of the attribute.
|
List<InstanceBlockDeviceMappingSpecification> |
getBlockDeviceMappings()
Modifies the
DeleteOnTermination attribute for volumes that are currently attached. |
Boolean |
getDisableApiTermination()
If the value is
true , you can't terminate the instance using the Amazon EC2 console, CLI, or API;
otherwise, you can. |
Request<ModifyInstanceAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Boolean |
getEbsOptimized()
Specifies whether the instance is optimized for Amazon EBS I/O.
|
Boolean |
getEnaSupport()
Set to
true to enable enhanced networking with ENA for the instance. |
List<String> |
getGroups()
[EC2-VPC] Changes the security groups of the instance.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getInstanceInitiatedShutdownBehavior()
Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
String |
getInstanceType()
Changes the instance type to the specified value.
|
String |
getKernel()
Changes the instance's kernel to the specified value.
|
String |
getRamdisk()
Changes the instance's RAM disk to the specified value.
|
Boolean |
getSourceDestCheck()
Specifies whether source/destination checking is enabled.
|
String |
getSriovNetSupport()
Set to
simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the
instance. |
String |
getUserData()
Changes the instance's user data to the specified value.
|
String |
getValue()
A new value for the attribute.
|
int |
hashCode() |
Boolean |
isDisableApiTermination()
If the value is
true , you can't terminate the instance using the Amazon EC2 console, CLI, or API;
otherwise, you can. |
Boolean |
isEbsOptimized()
Specifies whether the instance is optimized for Amazon EBS I/O.
|
Boolean |
isEnaSupport()
Set to
true to enable enhanced networking with ENA for the instance. |
Boolean |
isSourceDestCheck()
Specifies whether source/destination checking is enabled.
|
void |
setAttribute(InstanceAttributeName attribute)
The name of the attribute.
|
void |
setAttribute(String attribute)
The name of the attribute.
|
void |
setBlockDeviceMappings(Collection<InstanceBlockDeviceMappingSpecification> blockDeviceMappings)
Modifies the
DeleteOnTermination attribute for volumes that are currently attached. |
void |
setDisableApiTermination(Boolean disableApiTermination)
If the value is
true , you can't terminate the instance using the Amazon EC2 console, CLI, or API;
otherwise, you can. |
void |
setEbsOptimized(Boolean ebsOptimized)
Specifies whether the instance is optimized for Amazon EBS I/O.
|
void |
setEnaSupport(Boolean enaSupport)
Set to
true to enable enhanced networking with ENA for the instance. |
void |
setGroups(Collection<String> groups)
[EC2-VPC] Changes the security groups of the instance.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
void |
setInstanceType(String instanceType)
Changes the instance type to the specified value.
|
void |
setKernel(String kernel)
Changes the instance's kernel to the specified value.
|
void |
setRamdisk(String ramdisk)
Changes the instance's RAM disk to the specified value.
|
void |
setSourceDestCheck(Boolean sourceDestCheck)
Specifies whether source/destination checking is enabled.
|
void |
setSriovNetSupport(String sriovNetSupport)
Set to
simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the
instance. |
void |
setUserData(String userData)
Changes the instance's user data to the specified value.
|
void |
setValue(String value)
A new value for the attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyInstanceAttributeRequest |
withAttribute(InstanceAttributeName attribute)
The name of the attribute.
|
ModifyInstanceAttributeRequest |
withAttribute(String attribute)
The name of the attribute.
|
ModifyInstanceAttributeRequest |
withBlockDeviceMappings(Collection<InstanceBlockDeviceMappingSpecification> blockDeviceMappings)
Modifies the
DeleteOnTermination attribute for volumes that are currently attached. |
ModifyInstanceAttributeRequest |
withBlockDeviceMappings(InstanceBlockDeviceMappingSpecification... blockDeviceMappings)
Modifies the
DeleteOnTermination attribute for volumes that are currently attached. |
ModifyInstanceAttributeRequest |
withDisableApiTermination(Boolean disableApiTermination)
If the value is
true , you can't terminate the instance using the Amazon EC2 console, CLI, or API;
otherwise, you can. |
ModifyInstanceAttributeRequest |
withEbsOptimized(Boolean ebsOptimized)
Specifies whether the instance is optimized for Amazon EBS I/O.
|
ModifyInstanceAttributeRequest |
withEnaSupport(Boolean enaSupport)
Set to
true to enable enhanced networking with ENA for the instance. |
ModifyInstanceAttributeRequest |
withGroups(Collection<String> groups)
[EC2-VPC] Changes the security groups of the instance.
|
ModifyInstanceAttributeRequest |
withGroups(String... groups)
[EC2-VPC] Changes the security groups of the instance.
|
ModifyInstanceAttributeRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
ModifyInstanceAttributeRequest |
withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
ModifyInstanceAttributeRequest |
withInstanceType(String instanceType)
Changes the instance type to the specified value.
|
ModifyInstanceAttributeRequest |
withKernel(String kernel)
Changes the instance's kernel to the specified value.
|
ModifyInstanceAttributeRequest |
withRamdisk(String ramdisk)
Changes the instance's RAM disk to the specified value.
|
ModifyInstanceAttributeRequest |
withSourceDestCheck(Boolean sourceDestCheck)
Specifies whether source/destination checking is enabled.
|
ModifyInstanceAttributeRequest |
withSriovNetSupport(String sriovNetSupport)
Set to
simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the
instance. |
ModifyInstanceAttributeRequest |
withUserData(String userData)
Changes the instance's user data to the specified value.
|
ModifyInstanceAttributeRequest |
withValue(String value)
A new value for the attribute.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ModifyInstanceAttributeRequest()
public ModifyInstanceAttributeRequest(String instanceId, String attribute)
instanceId
- The ID of the instance.attribute
- The name of the attribute.public ModifyInstanceAttributeRequest(String instanceId, InstanceAttributeName attribute)
instanceId
- The ID of the instance.attribute
- The name of the attribute.public void setSourceDestCheck(Boolean sourceDestCheck)
Specifies 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.
sourceDestCheck
- Specifies 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.public Boolean getSourceDestCheck()
Specifies 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 ModifyInstanceAttributeRequest withSourceDestCheck(Boolean sourceDestCheck)
Specifies 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.
sourceDestCheck
- Specifies 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.public Boolean isSourceDestCheck()
Specifies 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 void setAttribute(String attribute)
The name of the attribute.
attribute
- The name of the attribute.InstanceAttributeName
public String getAttribute()
The name of the attribute.
InstanceAttributeName
public ModifyInstanceAttributeRequest withAttribute(String attribute)
The name of the attribute.
attribute
- The name of the attribute.InstanceAttributeName
public void setAttribute(InstanceAttributeName attribute)
The name of the attribute.
attribute
- The name of the attribute.InstanceAttributeName
public ModifyInstanceAttributeRequest withAttribute(InstanceAttributeName attribute)
The name of the attribute.
attribute
- The name of the attribute.InstanceAttributeName
public List<InstanceBlockDeviceMappingSpecification> getBlockDeviceMappings()
Modifies the DeleteOnTermination
attribute for volumes that are currently attached. The volume must
be owned by the caller. If no value is specified for DeleteOnTermination
, the default is
true
and the volume is deleted when the instance is terminated.
To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide.
DeleteOnTermination
attribute for volumes that are currently attached. The
volume must be owned by the caller. If no value is specified for DeleteOnTermination
, the
default is true
and the volume is deleted when the instance is terminated.
To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide.
public void setBlockDeviceMappings(Collection<InstanceBlockDeviceMappingSpecification> blockDeviceMappings)
Modifies the DeleteOnTermination
attribute for volumes that are currently attached. The volume must
be owned by the caller. If no value is specified for DeleteOnTermination
, the default is
true
and the volume is deleted when the instance is terminated.
To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide.
blockDeviceMappings
- Modifies the DeleteOnTermination
attribute for volumes that are currently attached. The
volume must be owned by the caller. If no value is specified for DeleteOnTermination
, the
default is true
and the volume is deleted when the instance is terminated.
To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide.
public ModifyInstanceAttributeRequest withBlockDeviceMappings(InstanceBlockDeviceMappingSpecification... blockDeviceMappings)
Modifies the DeleteOnTermination
attribute for volumes that are currently attached. The volume must
be owned by the caller. If no value is specified for DeleteOnTermination
, the default is
true
and the volume is deleted when the instance is terminated.
To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setBlockDeviceMappings(java.util.Collection)
or withBlockDeviceMappings(java.util.Collection)
if you want to override the existing values.
blockDeviceMappings
- Modifies the DeleteOnTermination
attribute for volumes that are currently attached. The
volume must be owned by the caller. If no value is specified for DeleteOnTermination
, the
default is true
and the volume is deleted when the instance is terminated.
To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide.
public ModifyInstanceAttributeRequest withBlockDeviceMappings(Collection<InstanceBlockDeviceMappingSpecification> blockDeviceMappings)
Modifies the DeleteOnTermination
attribute for volumes that are currently attached. The volume must
be owned by the caller. If no value is specified for DeleteOnTermination
, the default is
true
and the volume is deleted when the instance is terminated.
To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide.
blockDeviceMappings
- Modifies the DeleteOnTermination
attribute for volumes that are currently attached. The
volume must be owned by the caller. If no value is specified for DeleteOnTermination
, the
default is true
and the volume is deleted when the instance is terminated.
To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the Block Device Mapping when Launching an Instance in the Amazon Elastic Compute Cloud User Guide.
public void setDisableApiTermination(Boolean disableApiTermination)
If the value is true
, you can't terminate the instance using the Amazon EC2 console, CLI, or API;
otherwise, you can. You cannot use this parameter for Spot Instances.
disableApiTermination
- If the value is true
, you can't terminate the instance using the Amazon EC2 console, CLI, or
API; otherwise, you can. You cannot use this parameter for Spot Instances.public Boolean getDisableApiTermination()
If the value is true
, you can't terminate the instance using the Amazon EC2 console, CLI, or API;
otherwise, you can. You cannot use this parameter for Spot Instances.
true
, you can't terminate the instance using the Amazon EC2 console, CLI, or
API; otherwise, you can. You cannot use this parameter for Spot Instances.public ModifyInstanceAttributeRequest withDisableApiTermination(Boolean disableApiTermination)
If the value is true
, you can't terminate the instance using the Amazon EC2 console, CLI, or API;
otherwise, you can. You cannot use this parameter for Spot Instances.
disableApiTermination
- If the value is true
, you can't terminate the instance using the Amazon EC2 console, CLI, or
API; otherwise, you can. You cannot use this parameter for Spot Instances.public Boolean isDisableApiTermination()
If the value is true
, you can't terminate the instance using the Amazon EC2 console, CLI, or API;
otherwise, you can. You cannot use this parameter for Spot Instances.
true
, you can't terminate the instance using the Amazon EC2 console, CLI, or
API; otherwise, you can. You cannot use this parameter for Spot Instances.public void setEbsOptimized(Boolean ebsOptimized)
Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
ebsOptimized
- Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated
throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This
optimization isn't available with all instance types. Additional usage charges apply when using an EBS
Optimized instance.public Boolean getEbsOptimized()
Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
public ModifyInstanceAttributeRequest withEbsOptimized(Boolean ebsOptimized)
Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
ebsOptimized
- Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated
throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This
optimization isn't available with all instance types. Additional usage charges apply when using an EBS
Optimized instance.public Boolean isEbsOptimized()
Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
public void setEnaSupport(Boolean enaSupport)
Set to true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
enaSupport
- Set to true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
public Boolean getEnaSupport()
Set to true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
public ModifyInstanceAttributeRequest withEnaSupport(Boolean enaSupport)
Set to true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
enaSupport
- Set to true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
public Boolean isEnaSupport()
Set to true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
true
to enable enhanced networking with ENA for the instance.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
public List<String> getGroups()
[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.
public void setGroups(Collection<String> groups)
[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.
groups
- [EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even
if it's just the default security group for the VPC. You must specify the security group ID, not the
security group name.public ModifyInstanceAttributeRequest withGroups(String... groups)
[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- [EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even
if it's just the default security group for the VPC. You must specify the security group ID, not the
security group name.public ModifyInstanceAttributeRequest withGroups(Collection<String> groups)
[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.
groups
- [EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even
if it's just the default security group for the VPC. You must specify the security group ID, not the
security group name.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public ModifyInstanceAttributeRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceInitiatedShutdownBehavior
- Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).public String getInstanceInitiatedShutdownBehavior()
Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
public ModifyInstanceAttributeRequest withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceInitiatedShutdownBehavior
- Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).public void setInstanceType(String instanceType)
Changes the instance type to the specified value. For more information, see Instance Types. If the instance
type is not valid, the error returned is InvalidInstanceAttributeValue
.
instanceType
- Changes the instance type to the specified value. For more information, see Instance Types. If the
instance type is not valid, the error returned is InvalidInstanceAttributeValue
.public String getInstanceType()
Changes the instance type to the specified value. For more information, see Instance Types. If the instance
type is not valid, the error returned is InvalidInstanceAttributeValue
.
InvalidInstanceAttributeValue
.public ModifyInstanceAttributeRequest withInstanceType(String instanceType)
Changes the instance type to the specified value. For more information, see Instance Types. If the instance
type is not valid, the error returned is InvalidInstanceAttributeValue
.
instanceType
- Changes the instance type to the specified value. For more information, see Instance Types. If the
instance type is not valid, the error returned is InvalidInstanceAttributeValue
.public void setKernel(String kernel)
Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.
kernel
- Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels
and RAM disks. For more information, see PV-GRUB.public String getKernel()
Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.
public ModifyInstanceAttributeRequest withKernel(String kernel)
Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.
kernel
- Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels
and RAM disks. For more information, see PV-GRUB.public void setRamdisk(String ramdisk)
Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.
ramdisk
- Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of
kernels and RAM disks. For more information, see PV-GRUB.public String getRamdisk()
Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.
public ModifyInstanceAttributeRequest withRamdisk(String ramdisk)
Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.
ramdisk
- Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of
kernels and RAM disks. For more information, see PV-GRUB.public void setSriovNetSupport(String sriovNetSupport)
Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the
instance.
There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
sriovNetSupport
- Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface
for the instance.
There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
public String getSriovNetSupport()
Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the
instance.
There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
simple
to enable enhanced networking with the Intel 82599 Virtual Function interface
for the instance.
There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
public ModifyInstanceAttributeRequest withSriovNetSupport(String sriovNetSupport)
Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the
instance.
There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
sriovNetSupport
- Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface
for the instance.
There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
public void setUserData(String userData)
Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.
userData
- Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool,
base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide
base64-encoded text.public String getUserData()
Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.
public ModifyInstanceAttributeRequest withUserData(String userData)
Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.
userData
- Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool,
base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide
base64-encoded text.public void setValue(String value)
A new value for the attribute. Use only with the kernel
, ramdisk
, userData
, disableApiTermination
, or instanceInitiatedShutdownBehavior
attribute.
value
- A new value for the attribute. Use only with the kernel
, ramdisk
,
userData
, disableApiTermination
, or
instanceInitiatedShutdownBehavior
attribute.public String getValue()
A new value for the attribute. Use only with the kernel
, ramdisk
, userData
, disableApiTermination
, or instanceInitiatedShutdownBehavior
attribute.
kernel
, ramdisk
,
userData
, disableApiTermination
, or
instanceInitiatedShutdownBehavior
attribute.public ModifyInstanceAttributeRequest withValue(String value)
A new value for the attribute. Use only with the kernel
, ramdisk
, userData
, disableApiTermination
, or instanceInitiatedShutdownBehavior
attribute.
value
- A new value for the attribute. Use only with the kernel
, ramdisk
,
userData
, disableApiTermination
, or
instanceInitiatedShutdownBehavior
attribute.public Request<ModifyInstanceAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyInstanceAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyInstanceAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.