public static interface DescribeInstanceAttributeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceAttributeResponse.Builder,DescribeInstanceAttributeResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeInstanceAttributeResponse.Builder |
blockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mapping of the instance.
|
DescribeInstanceAttributeResponse.Builder |
blockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mapping of the instance.
|
DescribeInstanceAttributeResponse.Builder |
blockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mapping of the instance.
|
DescribeInstanceAttributeResponse.Builder |
disableApiTermination(AttributeBooleanValue disableApiTermination)
If the value is
true, you can't terminate the instance through the Amazon EC2 console, CLI, or
API; otherwise, you can. |
default DescribeInstanceAttributeResponse.Builder |
disableApiTermination(Consumer<AttributeBooleanValue.Builder> disableApiTermination)
If the value is
true, you can't terminate the instance through the Amazon EC2 console, CLI, or
API; otherwise, you can. |
DescribeInstanceAttributeResponse.Builder |
ebsOptimized(AttributeBooleanValue ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
default DescribeInstanceAttributeResponse.Builder |
ebsOptimized(Consumer<AttributeBooleanValue.Builder> ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
|
DescribeInstanceAttributeResponse.Builder |
enaSupport(AttributeBooleanValue enaSupport)
Indicates whether enhanced networking with ENA is enabled.
|
default DescribeInstanceAttributeResponse.Builder |
enaSupport(Consumer<AttributeBooleanValue.Builder> enaSupport)
Indicates whether enhanced networking with ENA is enabled.
|
default DescribeInstanceAttributeResponse.Builder |
enclaveOptions(Consumer<EnclaveOptions.Builder> enclaveOptions)
To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
true;
otherwise, set it to false. |
DescribeInstanceAttributeResponse.Builder |
enclaveOptions(EnclaveOptions enclaveOptions)
To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
true;
otherwise, set it to false. |
DescribeInstanceAttributeResponse.Builder |
groups(Collection<GroupIdentifier> groups)
The security groups associated with the instance.
|
DescribeInstanceAttributeResponse.Builder |
groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups associated with the instance.
|
DescribeInstanceAttributeResponse.Builder |
groups(GroupIdentifier... groups)
The security groups associated with the instance.
|
DescribeInstanceAttributeResponse.Builder |
instanceId(String instanceId)
The ID of the instance.
|
DescribeInstanceAttributeResponse.Builder |
instanceInitiatedShutdownBehavior(AttributeValue instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
default DescribeInstanceAttributeResponse.Builder |
instanceInitiatedShutdownBehavior(Consumer<AttributeValue.Builder> instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the
operating system command for system shutdown).
|
DescribeInstanceAttributeResponse.Builder |
instanceType(AttributeValue instanceType)
The instance type.
|
default DescribeInstanceAttributeResponse.Builder |
instanceType(Consumer<AttributeValue.Builder> instanceType)
The instance type.
|
DescribeInstanceAttributeResponse.Builder |
kernelId(AttributeValue kernelId)
The kernel ID.
|
default DescribeInstanceAttributeResponse.Builder |
kernelId(Consumer<AttributeValue.Builder> kernelId)
The kernel ID.
|
DescribeInstanceAttributeResponse.Builder |
productCodes(Collection<ProductCode> productCodes)
A list of product codes.
|
DescribeInstanceAttributeResponse.Builder |
productCodes(Consumer<ProductCode.Builder>... productCodes)
A list of product codes.
|
DescribeInstanceAttributeResponse.Builder |
productCodes(ProductCode... productCodes)
A list of product codes.
|
DescribeInstanceAttributeResponse.Builder |
ramdiskId(AttributeValue ramdiskId)
The RAM disk ID.
|
default DescribeInstanceAttributeResponse.Builder |
ramdiskId(Consumer<AttributeValue.Builder> ramdiskId)
The RAM disk ID.
|
DescribeInstanceAttributeResponse.Builder |
rootDeviceName(AttributeValue rootDeviceName)
The device name of the root device volume (for example,
/dev/sda1). |
default DescribeInstanceAttributeResponse.Builder |
rootDeviceName(Consumer<AttributeValue.Builder> rootDeviceName)
The device name of the root device volume (for example,
/dev/sda1). |
DescribeInstanceAttributeResponse.Builder |
sourceDestCheck(AttributeBooleanValue sourceDestCheck)
Enable or disable source/destination checks, which ensure that the instance is either the source or the
destination of any traffic that it receives.
|
default DescribeInstanceAttributeResponse.Builder |
sourceDestCheck(Consumer<AttributeBooleanValue.Builder> sourceDestCheck)
Enable or disable source/destination checks, which ensure that the instance is either the source or the
destination of any traffic that it receives.
|
DescribeInstanceAttributeResponse.Builder |
sriovNetSupport(AttributeValue sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
default DescribeInstanceAttributeResponse.Builder |
sriovNetSupport(Consumer<AttributeValue.Builder> sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
DescribeInstanceAttributeResponse.Builder |
userData(AttributeValue userData)
The user data.
|
default DescribeInstanceAttributeResponse.Builder |
userData(Consumer<AttributeValue.Builder> userData)
The user data.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeInstanceAttributeResponse.Builder groups(Collection<GroupIdentifier> groups)
The security groups associated with the instance.
groups - The security groups associated with the instance.DescribeInstanceAttributeResponse.Builder groups(GroupIdentifier... groups)
The security groups associated with the instance.
groups - The security groups associated with the instance.DescribeInstanceAttributeResponse.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups associated with the instance.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #groups(List) .groups - a consumer that will call methods on List.Builder #groups(List) DescribeInstanceAttributeResponse.Builder blockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mapping of the instance.
blockDeviceMappings - The block device mapping of the instance.DescribeInstanceAttributeResponse.Builder blockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mapping of the instance.
blockDeviceMappings - The block device mapping of the instance.DescribeInstanceAttributeResponse.Builder blockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mapping of the instance.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #blockDeviceMappings(List) .blockDeviceMappings - a consumer that will call methods on List.Builder #blockDeviceMappings(List) DescribeInstanceAttributeResponse.Builder disableApiTermination(AttributeBooleanValue disableApiTermination)
If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or
API; otherwise, you can.
disableApiTermination - If the value is true, you can't terminate the instance through the Amazon EC2 console,
CLI, or API; otherwise, you can.default DescribeInstanceAttributeResponse.Builder disableApiTermination(Consumer<AttributeBooleanValue.Builder> disableApiTermination)
If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or
API; otherwise, you can.
AttributeBooleanValue.Builder avoiding the need
to create one manually via AttributeBooleanValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to disableApiTermination(AttributeBooleanValue).disableApiTermination - a consumer that will call methods on AttributeBooleanValue.BuilderdisableApiTermination(AttributeBooleanValue)DescribeInstanceAttributeResponse.Builder enaSupport(AttributeBooleanValue enaSupport)
Indicates whether enhanced networking with ENA is enabled.
enaSupport - Indicates whether enhanced networking with ENA is enabled.default DescribeInstanceAttributeResponse.Builder enaSupport(Consumer<AttributeBooleanValue.Builder> enaSupport)
Indicates whether enhanced networking with ENA is enabled.
This is a convenience that creates an instance of theAttributeBooleanValue.Builder avoiding the need
to create one manually via AttributeBooleanValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to enaSupport(AttributeBooleanValue).enaSupport - a consumer that will call methods on AttributeBooleanValue.BuilderenaSupport(AttributeBooleanValue)DescribeInstanceAttributeResponse.Builder enclaveOptions(EnclaveOptions enclaveOptions)
To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to true;
otherwise, set it to false.
enclaveOptions - To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to true
; otherwise, set it to false.default DescribeInstanceAttributeResponse.Builder enclaveOptions(Consumer<EnclaveOptions.Builder> enclaveOptions)
To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to true;
otherwise, set it to false.
EnclaveOptions.Builder avoiding the need to
create one manually via EnclaveOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to enclaveOptions(EnclaveOptions).enclaveOptions - a consumer that will call methods on EnclaveOptions.BuilderenclaveOptions(EnclaveOptions)DescribeInstanceAttributeResponse.Builder ebsOptimized(AttributeBooleanValue ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
ebsOptimized - Indicates whether the instance is optimized for Amazon EBS I/O.default DescribeInstanceAttributeResponse.Builder ebsOptimized(Consumer<AttributeBooleanValue.Builder> ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
This is a convenience that creates an instance of theAttributeBooleanValue.Builder avoiding the need
to create one manually via AttributeBooleanValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to ebsOptimized(AttributeBooleanValue).ebsOptimized - a consumer that will call methods on AttributeBooleanValue.BuilderebsOptimized(AttributeBooleanValue)DescribeInstanceAttributeResponse.Builder instanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.DescribeInstanceAttributeResponse.Builder instanceInitiatedShutdownBehavior(AttributeValue instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using
the operating system command for system shutdown).default DescribeInstanceAttributeResponse.Builder instanceInitiatedShutdownBehavior(Consumer<AttributeValue.Builder> instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
This is a convenience that creates an instance of theAttributeValue.Builder avoiding the need to
create one manually via AttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to instanceInitiatedShutdownBehavior(AttributeValue).instanceInitiatedShutdownBehavior - a consumer that will call methods on AttributeValue.BuilderinstanceInitiatedShutdownBehavior(AttributeValue)DescribeInstanceAttributeResponse.Builder instanceType(AttributeValue instanceType)
The instance type.
instanceType - The instance type.default DescribeInstanceAttributeResponse.Builder instanceType(Consumer<AttributeValue.Builder> instanceType)
The instance type.
This is a convenience that creates an instance of theAttributeValue.Builder avoiding the need to
create one manually via AttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to instanceType(AttributeValue).instanceType - a consumer that will call methods on AttributeValue.BuilderinstanceType(AttributeValue)DescribeInstanceAttributeResponse.Builder kernelId(AttributeValue kernelId)
The kernel ID.
kernelId - The kernel ID.default DescribeInstanceAttributeResponse.Builder kernelId(Consumer<AttributeValue.Builder> kernelId)
The kernel ID.
This is a convenience that creates an instance of theAttributeValue.Builder avoiding the need to
create one manually via AttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to kernelId(AttributeValue).kernelId - a consumer that will call methods on AttributeValue.BuilderkernelId(AttributeValue)DescribeInstanceAttributeResponse.Builder productCodes(Collection<ProductCode> productCodes)
A list of product codes.
productCodes - A list of product codes.DescribeInstanceAttributeResponse.Builder productCodes(ProductCode... productCodes)
A list of product codes.
productCodes - A list of product codes.DescribeInstanceAttributeResponse.Builder productCodes(Consumer<ProductCode.Builder>... productCodes)
A list of product codes.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #productCodes(List) .productCodes - a consumer that will call methods on List.Builder #productCodes(List) DescribeInstanceAttributeResponse.Builder ramdiskId(AttributeValue ramdiskId)
The RAM disk ID.
ramdiskId - The RAM disk ID.default DescribeInstanceAttributeResponse.Builder ramdiskId(Consumer<AttributeValue.Builder> ramdiskId)
The RAM disk ID.
This is a convenience that creates an instance of theAttributeValue.Builder avoiding the need to
create one manually via AttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to ramdiskId(AttributeValue).ramdiskId - a consumer that will call methods on AttributeValue.BuilderramdiskId(AttributeValue)DescribeInstanceAttributeResponse.Builder rootDeviceName(AttributeValue rootDeviceName)
The device name of the root device volume (for example, /dev/sda1).
rootDeviceName - The device name of the root device volume (for example, /dev/sda1).default DescribeInstanceAttributeResponse.Builder rootDeviceName(Consumer<AttributeValue.Builder> rootDeviceName)
The device name of the root device volume (for example, /dev/sda1).
AttributeValue.Builder avoiding the need to
create one manually via AttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to rootDeviceName(AttributeValue).rootDeviceName - a consumer that will call methods on AttributeValue.BuilderrootDeviceName(AttributeValue)DescribeInstanceAttributeResponse.Builder sourceDestCheck(AttributeBooleanValue sourceDestCheck)
Enable or disable source/destination checks, which ensure that the instance is either the source or the
destination of any traffic that it receives. If the value is true, source/destination checks are
enabled; otherwise, they are disabled. The default value is true. You must disable
source/destination checks if the instance runs services such as network address translation, routing, or
firewalls.
sourceDestCheck - Enable or disable source/destination checks, which ensure that the instance is either the source or
the destination of any traffic that it receives. If the value is true, source/destination
checks are enabled; otherwise, they are disabled. The default value is true. You must
disable source/destination checks if the instance runs services such as network address translation,
routing, or firewalls.default DescribeInstanceAttributeResponse.Builder sourceDestCheck(Consumer<AttributeBooleanValue.Builder> sourceDestCheck)
Enable or disable source/destination checks, which ensure that the instance is either the source or the
destination of any traffic that it receives. If the value is true, source/destination checks are
enabled; otherwise, they are disabled. The default value is true. You must disable
source/destination checks if the instance runs services such as network address translation, routing, or
firewalls.
AttributeBooleanValue.Builder avoiding the need
to create one manually via AttributeBooleanValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sourceDestCheck(AttributeBooleanValue).sourceDestCheck - a consumer that will call methods on AttributeBooleanValue.BuildersourceDestCheck(AttributeBooleanValue)DescribeInstanceAttributeResponse.Builder sriovNetSupport(AttributeValue sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sriovNetSupport - Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.default DescribeInstanceAttributeResponse.Builder sriovNetSupport(Consumer<AttributeValue.Builder> sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
This is a convenience that creates an instance of theAttributeValue.Builder avoiding the need to
create one manually via AttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sriovNetSupport(AttributeValue).sriovNetSupport - a consumer that will call methods on AttributeValue.BuildersriovNetSupport(AttributeValue)DescribeInstanceAttributeResponse.Builder userData(AttributeValue userData)
The user data.
userData - The user data.default DescribeInstanceAttributeResponse.Builder userData(Consumer<AttributeValue.Builder> userData)
The user data.
This is a convenience that creates an instance of theAttributeValue.Builder avoiding the need to
create one manually via AttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to userData(AttributeValue).userData - a consumer that will call methods on AttributeValue.BuilderuserData(AttributeValue)Copyright © 2022. All rights reserved.