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)

      Specifies the identifier of the subnet.

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

      Subnet.Builder subnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)

      Specifies the Availability Zone for the subnet.

      Parameters:
      subnetAvailabilityZone - Specifies the Availability Zone for 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)

      Specifies the Availability Zone for 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)

      Specifies the status of the subnet.

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