Interface CustomerGateway.Builder

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

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

    • bgpAsn

      The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

      Parameters:
      bgpAsn - The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerGatewayId

      CustomerGateway.Builder customerGatewayId(String customerGatewayId)

      The ID of the customer gateway.

      Parameters:
      customerGatewayId - The ID of the customer gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddress

      CustomerGateway.Builder ipAddress(String ipAddress)

      The IP address of the customer gateway device's outside interface.

      Parameters:
      ipAddress - The IP address of the customer gateway device's outside interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateArn

      CustomerGateway.Builder certificateArn(String certificateArn)

      The Amazon Resource Name (ARN) for the customer gateway certificate.

      Parameters:
      certificateArn - The Amazon Resource Name (ARN) for the customer gateway certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the customer gateway (pending | available | deleting | deleted).

      Parameters:
      state - The current state of the customer gateway (pending | available | deleting | deleted).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of VPN connection the customer gateway supports (ipsec.1).

      Parameters:
      type - The type of VPN connection the customer gateway supports (ipsec.1).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceName

      CustomerGateway.Builder deviceName(String deviceName)

      The name of customer gateway device.

      Parameters:
      deviceName - The name of customer gateway device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Any tags assigned to the customer gateway.

      Parameters:
      tags - Any tags assigned to the customer gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Any tags assigned to the customer gateway.

      Parameters:
      tags - Any tags assigned to the customer gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Any tags assigned to the customer gateway.

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

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

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