Interface CreateConnectPeerRequest.Builder

    • Method Detail

      • connectAttachmentId

        CreateConnectPeerRequest.Builder connectAttachmentId​(String connectAttachmentId)

        The ID of the connection attachment.

        Parameters:
        connectAttachmentId - The ID of the connection attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • coreNetworkAddress

        CreateConnectPeerRequest.Builder coreNetworkAddress​(String coreNetworkAddress)

        A Connect peer core network address. This only applies only when the protocol is GRE.

        Parameters:
        coreNetworkAddress - A Connect peer core network address. This only applies only when the protocol is GRE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • peerAddress

        CreateConnectPeerRequest.Builder peerAddress​(String peerAddress)

        The Connect peer address.

        Parameters:
        peerAddress - The Connect peer address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bgpOptions

        CreateConnectPeerRequest.Builder bgpOptions​(BgpOptions bgpOptions)

        The Connect peer BGP options. This only applies only when the protocol is GRE.

        Parameters:
        bgpOptions - The Connect peer BGP options. This only applies only when the protocol is GRE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insideCidrBlocks

        CreateConnectPeerRequest.Builder insideCidrBlocks​(Collection<String> insideCidrBlocks)

        The inside IP addresses used for BGP peering.

        Parameters:
        insideCidrBlocks - The inside IP addresses used for BGP peering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insideCidrBlocks

        CreateConnectPeerRequest.Builder insideCidrBlocks​(String... insideCidrBlocks)

        The inside IP addresses used for BGP peering.

        Parameters:
        insideCidrBlocks - The inside IP addresses used for BGP peering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateConnectPeerRequest.Builder tags​(Collection<Tag> tags)

        The tags associated with the peer request.

        Parameters:
        tags - The tags associated with the peer request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateConnectPeerRequest.Builder tags​(Tag... tags)

        The tags associated with the peer request.

        Parameters:
        tags - The tags associated with the peer request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateConnectPeerRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags associated with the peer request.

        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)
      • clientToken

        CreateConnectPeerRequest.Builder clientToken​(String clientToken)

        The client token associated with the request.

        Parameters:
        clientToken - The client token associated with the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetArn

        CreateConnectPeerRequest.Builder subnetArn​(String subnetArn)

        The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.

        Parameters:
        subnetArn - The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.