Interface Connection.Builder

    • Method Detail

      • connectionId

        Connection.Builder connectionId​(String connectionId)

        The ID of the connection.

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

        Connection.Builder connectionArn​(String connectionArn)

        The Amazon Resource Name (ARN) of the connection.

        Parameters:
        connectionArn - The Amazon Resource Name (ARN) of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • globalNetworkId

        Connection.Builder globalNetworkId​(String globalNetworkId)

        The ID of the global network.

        Parameters:
        globalNetworkId - The ID of the global network.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceId

        Connection.Builder deviceId​(String deviceId)

        The ID of the first device in the connection.

        Parameters:
        deviceId - The ID of the first device in the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectedDeviceId

        Connection.Builder connectedDeviceId​(String connectedDeviceId)

        The ID of the second device in the connection.

        Parameters:
        connectedDeviceId - The ID of the second device in the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • linkId

        Connection.Builder linkId​(String linkId)

        The ID of the link for the first device in the connection.

        Parameters:
        linkId - The ID of the link for the first device in the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectedLinkId

        Connection.Builder connectedLinkId​(String connectedLinkId)

        The ID of the link for the second device in the connection.

        Parameters:
        connectedLinkId - The ID of the link for the second device in the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Connection.Builder description​(String description)

        The description of the connection.

        Parameters:
        description - The description of the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        Connection.Builder createdAt​(Instant createdAt)

        The date and time that the connection was created.

        Parameters:
        createdAt - The date and time that the connection was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags for the connection.

        Parameters:
        tags - The tags for the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Connection.Builder tags​(Tag... tags)

        The tags for the connection.

        Parameters:
        tags - The tags for the connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags for the connection.

        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)