Interface CustomerGateway.Builder

    • Method Detail

      • bgpAsn

        CustomerGateway.Builder bgpAsn​(String 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

        CustomerGateway.Builder state​(String 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

        CustomerGateway.Builder type​(String 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

        CustomerGateway.Builder tags​(Collection<Tag> 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

        CustomerGateway.Builder tags​(Tag... 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

        CustomerGateway.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)