Interface CreateCustomerGatewayRequest.Builder

    • Method Detail

      • bgpAsn

        CreateCustomerGatewayRequest.Builder bgpAsn​(Integer bgpAsn)

        For devices that support BGP, the customer gateway's BGP ASN.

        Default: 65000

        Parameters:
        bgpAsn - For devices that support BGP, the customer gateway's BGP ASN.

        Default: 65000

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

        CreateCustomerGatewayRequest.Builder publicIp​(String publicIp)

        This member has been deprecated. The Internet-routable IP address for the customer gateway's outside interface. The address must be static.

        Parameters:
        publicIp - This member has been deprecated. The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateArn

        CreateCustomerGatewayRequest.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.
      • type

        CreateCustomerGatewayRequest.Builder type​(String type)

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

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

        CreateCustomerGatewayRequest.Builder type​(GatewayType type)

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

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

        CreateCustomerGatewayRequest.Builder tagSpecifications​(Collection<TagSpecification> tagSpecifications)

        The tags to apply to the customer gateway.

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

        CreateCustomerGatewayRequest.Builder tagSpecifications​(TagSpecification... tagSpecifications)

        The tags to apply to the customer gateway.

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

        CreateCustomerGatewayRequest.Builder deviceName​(String deviceName)

        A name for the customer gateway device.

        Length Constraints: Up to 255 characters.

        Parameters:
        deviceName - A name for the customer gateway device.

        Length Constraints: Up to 255 characters.

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

        CreateCustomerGatewayRequest.Builder ipAddress​(String ipAddress)

        IPv4 address for the customer gateway device's outside interface. The address must be static.

        Parameters:
        ipAddress - IPv4 address for the customer gateway device's outside interface. The address must be static.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        CreateCustomerGatewayRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.