Interface Subnet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Subnet.Builder,
,Subnet> SdkBuilder<Subnet.Builder,
,Subnet> SdkPojo
- Enclosing class:
Subnet
-
Method Summary
Modifier and TypeMethodDescriptiondefault Subnet.Builder
subnetAvailabilityZone
(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone) The Availability Zone associated with the subnet.subnetAvailabilityZone
(AvailabilityZone subnetAvailabilityZone) The Availability Zone associated with the subnet.subnetIdentifier
(String subnetIdentifier) The unique identifier for the subnet.default Subnet.Builder
subnetOutpost
(Consumer<SubnetOutpost.Builder> subnetOutpost) The outpost ARN of the subnet.subnetOutpost
(SubnetOutpost subnetOutpost) The outpost ARN of the subnet.supportedNetworkTypes
(Collection<NetworkType> supportedNetworkTypes) Eitheripv4
|ipv6
|dual_stack
.supportedNetworkTypes
(NetworkType... supportedNetworkTypes) Eitheripv4
|ipv6
|dual_stack
.supportedNetworkTypesWithStrings
(String... supportedNetworkTypes) Eitheripv4
|ipv6
|dual_stack
.supportedNetworkTypesWithStrings
(Collection<String> supportedNetworkTypes) Eitheripv4
|ipv6
|dual_stack
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
subnetIdentifier
The unique identifier for the subnet.
- Parameters:
subnetIdentifier
- The unique identifier for the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetAvailabilityZone
The Availability Zone associated with the subnet.
- Parameters:
subnetAvailabilityZone
- The Availability Zone associated with the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetAvailabilityZone
default Subnet.Builder subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone) The Availability Zone associated with the subnet.
This is a convenience method that creates an instance of theAvailabilityZone.Builder
avoiding the need to create one manually viaAvailabilityZone.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetAvailabilityZone(AvailabilityZone)
.- Parameters:
subnetAvailabilityZone
- a consumer that will call methods onAvailabilityZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetOutpost
The outpost ARN of the subnet.
- Parameters:
subnetOutpost
- The outpost ARN of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetOutpost
The outpost ARN of the subnet.
This is a convenience method that creates an instance of theSubnetOutpost.Builder
avoiding the need to create one manually viaSubnetOutpost.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetOutpost(SubnetOutpost)
.- Parameters:
subnetOutpost
- a consumer that will call methods onSubnetOutpost.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportedNetworkTypesWithStrings
Either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes
- Eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypesWithStrings
Either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes
- Eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypes
Either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes
- Eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedNetworkTypes
Either
ipv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Parameters:
supportedNetworkTypes
- Eitheripv4
|ipv6
|dual_stack
. IPv6 is supported for workloads using Valkey 7.2 and above, Redis OSS engine version 6.2 and above or Memcached engine version 1.6.6 and above on all instances built on the Nitro system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-