Interface Tunnel.Builder

    • Method Detail

      • tunnelId

        Tunnel.Builder tunnelId​(String tunnelId)

        A unique alpha-numeric ID that identifies a tunnel.

        Parameters:
        tunnelId - A unique alpha-numeric ID that identifies a tunnel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tunnelArn

        Tunnel.Builder tunnelArn​(String tunnelArn)

        The Amazon Resource Name (ARN) of a tunnel.

        Parameters:
        tunnelArn - The Amazon Resource Name (ARN) of a tunnel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Tunnel.Builder status​(String status)

        The status of a tunnel. Valid values are: Open and Closed.

        Parameters:
        status - The status of a tunnel. Valid values are: Open and Closed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TunnelStatus, TunnelStatus
      • status

        Tunnel.Builder status​(TunnelStatus status)

        The status of a tunnel. Valid values are: Open and Closed.

        Parameters:
        status - The status of a tunnel. Valid values are: Open and Closed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TunnelStatus, TunnelStatus
      • sourceConnectionState

        Tunnel.Builder sourceConnectionState​(ConnectionState sourceConnectionState)

        The connection state of the source application.

        Parameters:
        sourceConnectionState - The connection state of the source application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationConnectionState

        Tunnel.Builder destinationConnectionState​(ConnectionState destinationConnectionState)

        The connection state of the destination application.

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

        Tunnel.Builder description​(String description)

        A description of the tunnel.

        Parameters:
        description - A description of the tunnel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationConfig

        Tunnel.Builder destinationConfig​(DestinationConfig destinationConfig)

        The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.

        Parameters:
        destinationConfig - The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeoutConfig

        Tunnel.Builder timeoutConfig​(TimeoutConfig timeoutConfig)

        Timeout configuration for the tunnel.

        Parameters:
        timeoutConfig - Timeout configuration for the tunnel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        A list of tag metadata associated with the secure tunnel.

        Parameters:
        tags - A list of tag metadata associated with the secure tunnel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Tunnel.Builder tags​(Tag... tags)

        A list of tag metadata associated with the secure tunnel.

        Parameters:
        tags - A list of tag metadata associated with the secure tunnel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        A list of tag metadata associated with the secure tunnel.

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

        Tunnel.Builder createdAt​(Instant createdAt)

        The time when the tunnel was created.

        Parameters:
        createdAt - The time when the tunnel was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedAt

        Tunnel.Builder lastUpdatedAt​(Instant lastUpdatedAt)

        The last time the tunnel was updated.

        Parameters:
        lastUpdatedAt - The last time the tunnel was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.