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 Details

    • 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 the AvailabilityZone.Builder avoiding the need to create one manually via AvailabilityZone.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subnetAvailabilityZone(AvailabilityZone).

      Parameters:
      subnetAvailabilityZone - a consumer that will call methods on AvailabilityZone.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the SubnetOutpost.Builder avoiding the need to create one manually via SubnetOutpost.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subnetOutpost(SubnetOutpost).

      Parameters:
      subnetOutpost - a consumer that will call methods on SubnetOutpost.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • supportedNetworkTypesWithStrings

      Subnet.Builder supportedNetworkTypesWithStrings(Collection<String> supportedNetworkTypes)

      Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.

      Parameters:
      supportedNetworkTypes - Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 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 Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.

      Parameters:
      supportedNetworkTypes - Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 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 Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.

      Parameters:
      supportedNetworkTypes - Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 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 Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.

      Parameters:
      supportedNetworkTypes - Either ipv4 | ipv6 | dual_stack. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.