public static interface ModifySubnetAttributeRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifySubnetAttributeRequest.Builder,ModifySubnetAttributeRequest>
Modifier and Type | Method and Description |
---|---|
ModifySubnetAttributeRequest.Builder |
assignIpv6AddressOnCreation(AttributeBooleanValue assignIpv6AddressOnCreation)
Specify
true to indicate that network interfaces created in the specified subnet should be
assigned an IPv6 address. |
default ModifySubnetAttributeRequest.Builder |
assignIpv6AddressOnCreation(Consumer<AttributeBooleanValue.Builder> assignIpv6AddressOnCreation)
Specify
true to indicate that network interfaces created in the specified subnet should be
assigned an IPv6 address. |
ModifySubnetAttributeRequest.Builder |
customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The customer-owned IPv4 address pool associated with the subnet.
|
ModifySubnetAttributeRequest.Builder |
disableLniAtDeviceIndex(AttributeBooleanValue disableLniAtDeviceIndex)
Specify
true to indicate that local network interfaces at the current position should be
disabled. |
default ModifySubnetAttributeRequest.Builder |
disableLniAtDeviceIndex(Consumer<AttributeBooleanValue.Builder> disableLniAtDeviceIndex)
Specify
true to indicate that local network interfaces at the current position should be
disabled. |
ModifySubnetAttributeRequest.Builder |
enableDns64(AttributeBooleanValue enableDns64)
Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic
IPv6 addresses for IPv4-only destinations.
|
default ModifySubnetAttributeRequest.Builder |
enableDns64(Consumer<AttributeBooleanValue.Builder> enableDns64)
Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic
IPv6 addresses for IPv4-only destinations.
|
ModifySubnetAttributeRequest.Builder |
enableLniAtDeviceIndex(Integer enableLniAtDeviceIndex)
Indicates the device position for local network interfaces in this subnet.
|
ModifySubnetAttributeRequest.Builder |
enableResourceNameDnsAAAARecordOnLaunch(AttributeBooleanValue enableResourceNameDnsAAAARecordOnLaunch)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
default ModifySubnetAttributeRequest.Builder |
enableResourceNameDnsAAAARecordOnLaunch(Consumer<AttributeBooleanValue.Builder> enableResourceNameDnsAAAARecordOnLaunch)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
ModifySubnetAttributeRequest.Builder |
enableResourceNameDnsARecordOnLaunch(AttributeBooleanValue enableResourceNameDnsARecordOnLaunch)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
default ModifySubnetAttributeRequest.Builder |
enableResourceNameDnsARecordOnLaunch(Consumer<AttributeBooleanValue.Builder> enableResourceNameDnsARecordOnLaunch)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
ModifySubnetAttributeRequest.Builder |
mapCustomerOwnedIpOnLaunch(AttributeBooleanValue mapCustomerOwnedIpOnLaunch)
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address. |
default ModifySubnetAttributeRequest.Builder |
mapCustomerOwnedIpOnLaunch(Consumer<AttributeBooleanValue.Builder> mapCustomerOwnedIpOnLaunch)
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address. |
ModifySubnetAttributeRequest.Builder |
mapPublicIpOnLaunch(AttributeBooleanValue mapPublicIpOnLaunch)
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address. |
default ModifySubnetAttributeRequest.Builder |
mapPublicIpOnLaunch(Consumer<AttributeBooleanValue.Builder> mapPublicIpOnLaunch)
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address. |
ModifySubnetAttributeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifySubnetAttributeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ModifySubnetAttributeRequest.Builder |
privateDnsHostnameTypeOnLaunch(HostnameType privateDnsHostnameTypeOnLaunch)
The type of hostname to assign to instances in the subnet at launch.
|
ModifySubnetAttributeRequest.Builder |
privateDnsHostnameTypeOnLaunch(String privateDnsHostnameTypeOnLaunch)
The type of hostname to assign to instances in the subnet at launch.
|
ModifySubnetAttributeRequest.Builder |
subnetId(String subnetId)
The ID of the subnet.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifySubnetAttributeRequest.Builder assignIpv6AddressOnCreation(AttributeBooleanValue assignIpv6AddressOnCreation)
Specify true
to indicate that network interfaces created in the specified subnet should be
assigned an IPv6 address. This includes a network interface that's created when launching an instance into
the subnet (the instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives
an IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2 API.
assignIpv6AddressOnCreation
- Specify true
to indicate that network interfaces created in the specified subnet should
be assigned an IPv6 address. This includes a network interface that's created when launching an
instance into the subnet (the instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only
receives an IPv6 address if it's created using version 2016-11-15
or later of the Amazon
EC2 API.
default ModifySubnetAttributeRequest.Builder assignIpv6AddressOnCreation(Consumer<AttributeBooleanValue.Builder> assignIpv6AddressOnCreation)
Specify true
to indicate that network interfaces created in the specified subnet should be
assigned an IPv6 address. This includes a network interface that's created when launching an instance into
the subnet (the instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives
an IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2 API.
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 assignIpv6AddressOnCreation(AttributeBooleanValue)
.assignIpv6AddressOnCreation
- a consumer that will call methods on AttributeBooleanValue.Builder
assignIpv6AddressOnCreation(AttributeBooleanValue)
ModifySubnetAttributeRequest.Builder mapPublicIpOnLaunch(AttributeBooleanValue mapPublicIpOnLaunch)
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address.
mapPublicIpOnLaunch
- Specify true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a public IPv4 address.default ModifySubnetAttributeRequest.Builder mapPublicIpOnLaunch(Consumer<AttributeBooleanValue.Builder> mapPublicIpOnLaunch)
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address.
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 mapPublicIpOnLaunch(AttributeBooleanValue)
.mapPublicIpOnLaunch
- a consumer that will call methods on AttributeBooleanValue.Builder
mapPublicIpOnLaunch(AttributeBooleanValue)
ModifySubnetAttributeRequest.Builder subnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.ModifySubnetAttributeRequest.Builder mapCustomerOwnedIpOnLaunch(AttributeBooleanValue mapCustomerOwnedIpOnLaunch)
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
mapCustomerOwnedIpOnLaunch
- Specify true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
default ModifySubnetAttributeRequest.Builder mapCustomerOwnedIpOnLaunch(Consumer<AttributeBooleanValue.Builder> mapCustomerOwnedIpOnLaunch)
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
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 mapCustomerOwnedIpOnLaunch(AttributeBooleanValue)
.mapCustomerOwnedIpOnLaunch
- a consumer that will call methods on AttributeBooleanValue.Builder
mapCustomerOwnedIpOnLaunch(AttributeBooleanValue)
ModifySubnetAttributeRequest.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
customerOwnedIpv4Pool
- The customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
ModifySubnetAttributeRequest.Builder enableDns64(AttributeBooleanValue enableDns64)
Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.
enableDns64
- Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return
synthetic IPv6 addresses for IPv4-only destinations.default ModifySubnetAttributeRequest.Builder enableDns64(Consumer<AttributeBooleanValue.Builder> enableDns64)
Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.
This is a convenience method 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 enableDns64(AttributeBooleanValue)
.enableDns64
- a consumer that will call methods on AttributeBooleanValue.Builder
enableDns64(AttributeBooleanValue)
ModifySubnetAttributeRequest.Builder privateDnsHostnameTypeOnLaunch(String privateDnsHostnameTypeOnLaunch)
The type of hostname to assign to instances in the subnet at launch. For IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6 only subnets, an instance DNS name must be based on the instance ID (resource-name).
privateDnsHostnameTypeOnLaunch
- The type of hostname to assign to instances in the subnet at launch. For IPv4-only and dual-stack
(IPv4 and IPv6) subnets, an instance DNS name can be based on the instance IPv4 address (ip-name) or
the instance ID (resource-name). For IPv6 only subnets, an instance DNS name must be based on the
instance ID (resource-name).HostnameType
,
HostnameType
ModifySubnetAttributeRequest.Builder privateDnsHostnameTypeOnLaunch(HostnameType privateDnsHostnameTypeOnLaunch)
The type of hostname to assign to instances in the subnet at launch. For IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6 only subnets, an instance DNS name must be based on the instance ID (resource-name).
privateDnsHostnameTypeOnLaunch
- The type of hostname to assign to instances in the subnet at launch. For IPv4-only and dual-stack
(IPv4 and IPv6) subnets, an instance DNS name can be based on the instance IPv4 address (ip-name) or
the instance ID (resource-name). For IPv6 only subnets, an instance DNS name must be based on the
instance ID (resource-name).HostnameType
,
HostnameType
ModifySubnetAttributeRequest.Builder enableResourceNameDnsARecordOnLaunch(AttributeBooleanValue enableResourceNameDnsARecordOnLaunch)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
enableResourceNameDnsARecordOnLaunch
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.default ModifySubnetAttributeRequest.Builder enableResourceNameDnsARecordOnLaunch(Consumer<AttributeBooleanValue.Builder> enableResourceNameDnsARecordOnLaunch)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
This is a convenience method 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 enableResourceNameDnsARecordOnLaunch(AttributeBooleanValue)
.enableResourceNameDnsARecordOnLaunch
- a consumer that will call methods on AttributeBooleanValue.Builder
enableResourceNameDnsARecordOnLaunch(AttributeBooleanValue)
ModifySubnetAttributeRequest.Builder enableResourceNameDnsAAAARecordOnLaunch(AttributeBooleanValue enableResourceNameDnsAAAARecordOnLaunch)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
enableResourceNameDnsAAAARecordOnLaunch
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.default ModifySubnetAttributeRequest.Builder enableResourceNameDnsAAAARecordOnLaunch(Consumer<AttributeBooleanValue.Builder> enableResourceNameDnsAAAARecordOnLaunch)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
This is a convenience method 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 enableResourceNameDnsAAAARecordOnLaunch(AttributeBooleanValue)
.enableResourceNameDnsAAAARecordOnLaunch
- a consumer that will call methods on AttributeBooleanValue.Builder
enableResourceNameDnsAAAARecordOnLaunch(AttributeBooleanValue)
ModifySubnetAttributeRequest.Builder enableLniAtDeviceIndex(Integer enableLniAtDeviceIndex)
Indicates the device position for local network interfaces in this subnet. For example, 1
indicates local network interfaces in this subnet are the secondary network interface (eth1). A local network
interface cannot be the primary network interface (eth0).
enableLniAtDeviceIndex
- Indicates the device position for local network interfaces in this subnet. For example, 1
indicates local network interfaces in this subnet are the secondary network interface (eth1). A local
network interface cannot be the primary network interface (eth0).ModifySubnetAttributeRequest.Builder disableLniAtDeviceIndex(AttributeBooleanValue disableLniAtDeviceIndex)
Specify true
to indicate that local network interfaces at the current position should be
disabled.
disableLniAtDeviceIndex
- Specify true
to indicate that local network interfaces at the current position should be
disabled.default ModifySubnetAttributeRequest.Builder disableLniAtDeviceIndex(Consumer<AttributeBooleanValue.Builder> disableLniAtDeviceIndex)
Specify true
to indicate that local network interfaces at the current position should be
disabled.
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 disableLniAtDeviceIndex(AttributeBooleanValue)
.disableLniAtDeviceIndex
- a consumer that will call methods on AttributeBooleanValue.Builder
disableLniAtDeviceIndex(AttributeBooleanValue)
ModifySubnetAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifySubnetAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.