Interface GetRelayResponse.Builder

  • Method Details

    • authentication

      GetRelayResponse.Builder authentication(RelayAuthentication authentication)

      The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.

      Parameters:
      authentication - The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authentication

      default GetRelayResponse.Builder authentication(Consumer<RelayAuthentication.Builder> authentication)

      The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.

      This is a convenience method that creates an instance of the RelayAuthentication.Builder avoiding the need to create one manually via RelayAuthentication.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to authentication(RelayAuthentication).

      Parameters:
      authentication - a consumer that will call methods on RelayAuthentication.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTimestamp

      GetRelayResponse.Builder createdTimestamp(Instant createdTimestamp)

      The timestamp of when the relay was created.

      Parameters:
      createdTimestamp - The timestamp of when the relay was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTimestamp

      GetRelayResponse.Builder lastModifiedTimestamp(Instant lastModifiedTimestamp)

      The timestamp of when relay was last updated.

      Parameters:
      lastModifiedTimestamp - The timestamp of when relay was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relayArn

      GetRelayResponse.Builder relayArn(String relayArn)

      The Amazon Resource Name (ARN) of the relay.

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

      GetRelayResponse.Builder relayId(String relayId)

      The unique relay identifier.

      Parameters:
      relayId - The unique relay identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relayName

      GetRelayResponse.Builder relayName(String relayName)

      The unique name of the relay.

      Parameters:
      relayName - The unique name of the relay.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverName

      GetRelayResponse.Builder serverName(String serverName)

      The destination relay server address.

      Parameters:
      serverName - The destination relay server address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverPort

      GetRelayResponse.Builder serverPort(Integer serverPort)

      The destination relay server port.

      Parameters:
      serverPort - The destination relay server port.
      Returns:
      Returns a reference to this object so that method calls can be chained together.