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 subnet identifier.

      Parameters:
      subnetIdentifier - The subnet identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetAvailabilityZone

      Subnet.Builder subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)

      The Availability Zone of the subnet.

      Parameters:
      subnetAvailabilityZone - The Availability Zone of 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 of 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:
    • subnetStatus

      Subnet.Builder subnetStatus(String subnetStatus)

      The status of the subnet.

      Parameters:
      subnetStatus - The status of the subnet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.