public static interface DescribeInstanceAttributeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceAttributeResponse.Builder,DescribeInstanceAttributeResponse>
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeInstanceAttributeResponse.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.Builder
disableApiTermination(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.Builder
enaSupport(AttributeBooleanValue)
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.Builder
ebsOptimized(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.Builder
instanceInitiatedShutdownBehavior(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.Builder
instanceType(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.Builder
kernelId(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.Builder
ramdiskId(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.Builder
rootDeviceName(AttributeValue)
DescribeInstanceAttributeResponse.Builder sourceDestCheck(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.
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.default DescribeInstanceAttributeResponse.Builder sourceDestCheck(Consumer<AttributeBooleanValue.Builder> 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.
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.Builder
sourceDestCheck(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.Builder
sriovNetSupport(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.Builder
userData(AttributeValue)
Copyright © 2019. All rights reserved.