Interface Subnet.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Subnet.Builder,Subnet>
,SdkBuilder<Subnet.Builder,Subnet>
,SdkPojo
- Enclosing class:
- Subnet
public static interface Subnet.Builder extends SdkPojo, CopyableBuilder<Subnet.Builder,Subnet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Subnet.Builder
subnetAvailabilityZone(Consumer<AvailabilityZone.Builder> subnetAvailabilityZone)
The Availability Zone associated with the subnet.Subnet.Builder
subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone associated with the subnet.Subnet.Builder
subnetIdentifier(String subnetIdentifier)
The unique identifier for the subnet.default Subnet.Builder
subnetOutpost(Consumer<SubnetOutpost.Builder> subnetOutpost)
The outpost ARN of the subnet.Subnet.Builder
subnetOutpost(SubnetOutpost subnetOutpost)
The outpost ARN of the subnet.Subnet.Builder
supportedNetworkTypes(Collection<NetworkType> supportedNetworkTypes)
Eitheripv4
|ipv6
|dual_stack
.Subnet.Builder
supportedNetworkTypes(NetworkType... supportedNetworkTypes)
Eitheripv4
|ipv6
|dual_stack
.Subnet.Builder
supportedNetworkTypesWithStrings(String... supportedNetworkTypes)
Eitheripv4
|ipv6
|dual_stack
.Subnet.Builder
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 Detail
-
subnetIdentifier
Subnet.Builder subnetIdentifier(String 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
Subnet.Builder subnetAvailabilityZone(AvailabilityZone 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:
subnetAvailabilityZone(AvailabilityZone)
-
subnetOutpost
Subnet.Builder subnetOutpost(SubnetOutpost 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
default Subnet.Builder subnetOutpost(Consumer<SubnetOutpost.Builder> 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:
subnetOutpost(SubnetOutpost)
-
supportedNetworkTypesWithStrings
Subnet.Builder supportedNetworkTypesWithStrings(Collection<String> 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.
-
supportedNetworkTypesWithStrings
Subnet.Builder supportedNetworkTypesWithStrings(String... 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
Subnet.Builder supportedNetworkTypes(Collection<NetworkType> 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
Subnet.Builder supportedNetworkTypes(NetworkType... 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.
-
-