Interface ConnectPeer.Builder

    • Method Detail

      • coreNetworkId

        ConnectPeer.Builder coreNetworkId​(String coreNetworkId)

        The ID of a core network.

        Parameters:
        coreNetworkId - The ID of a core network.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectAttachmentId

        ConnectPeer.Builder connectAttachmentId​(String connectAttachmentId)

        The ID of the attachment to connect.

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

        ConnectPeer.Builder connectPeerId​(String connectPeerId)

        The ID of the Connect peer.

        Parameters:
        connectPeerId - The ID of the Connect peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • edgeLocation

        ConnectPeer.Builder edgeLocation​(String edgeLocation)

        The Connect peer Regions where edges are located.

        Parameters:
        edgeLocation - The Connect peer Regions where edges are located.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        ConnectPeer.Builder createdAt​(Instant createdAt)

        The timestamp when the Connect peer was created.

        Parameters:
        createdAt - The timestamp when the Connect peer was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuration

        ConnectPeer.Builder configuration​(ConnectPeerConfiguration configuration)

        The configuration of the Connect peer.

        Parameters:
        configuration - The configuration of the Connect peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The list of key-value tags associated with the Connect peer.

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

        ConnectPeer.Builder tags​(Tag... tags)

        The list of key-value tags associated with the Connect peer.

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

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

        The list of key-value tags associated with the Connect peer.

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

        ConnectPeer.Builder subnetArn​(String subnetArn)

        The subnet ARN for the Connect peer.

        Parameters:
        subnetArn - The subnet ARN for the Connect peer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.