Interface ByoipCidr.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ByoipCidr.Builder,ByoipCidr>, SdkBuilder<ByoipCidr.Builder,ByoipCidr>, SdkPojo
Enclosing class:
ByoipCidr

public static interface ByoipCidr.Builder extends SdkPojo, CopyableBuilder<ByoipCidr.Builder,ByoipCidr>
  • Method Details

    • cidr

      The address range, in CIDR notation.

      Parameters:
      cidr - The address range, in CIDR notation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ByoipCidr.Builder description(String description)

      The description of the address range.

      Parameters:
      description - The description of the address range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • asnAssociations

      ByoipCidr.Builder asnAssociations(Collection<AsnAssociation> asnAssociations)

      The BYOIP CIDR associations with ASNs.

      Parameters:
      asnAssociations - The BYOIP CIDR associations with ASNs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • asnAssociations

      ByoipCidr.Builder asnAssociations(AsnAssociation... asnAssociations)

      The BYOIP CIDR associations with ASNs.

      Parameters:
      asnAssociations - The BYOIP CIDR associations with ASNs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • asnAssociations

      ByoipCidr.Builder asnAssociations(Consumer<AsnAssociation.Builder>... asnAssociations)

      The BYOIP CIDR associations with ASNs.

      This is a convenience method that creates an instance of the AsnAssociation.Builder avoiding the need to create one manually via AsnAssociation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to asnAssociations(List<AsnAssociation>).

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

      ByoipCidr.Builder statusMessage(String statusMessage)

      Upon success, contains the ID of the address pool. Otherwise, contains an error message.

      Parameters:
      statusMessage - Upon success, contains the ID of the address pool. Otherwise, contains an error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      ByoipCidr.Builder state(String state)

      The state of the address pool.

      Parameters:
      state - The state of the address pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the address pool.

      Parameters:
      state - The state of the address pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkBorderGroup

      ByoipCidr.Builder networkBorderGroup(String networkBorderGroup)

      If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

      You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

      • us-east-1-dfw-2

      • us-west-2-lax-1

      • us-west-2-phx-2

      You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

      Parameters:
      networkBorderGroup - If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

      You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

      • us-east-1-dfw-2

      • us-west-2-lax-1

      • us-west-2-phx-2

      You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

      Returns:
      Returns a reference to this object so that method calls can be chained together.