Interface CreateRelayRequest.Builder

  • Method Details

    • authentication

      CreateRelayRequest.Builder authentication(RelayAuthentication authentication)

      Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.

      Parameters:
      authentication - Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authentication

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

      Authentication for the relay destination server—specify the secretARN where the SMTP 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:
    • clientToken

      CreateRelayRequest.Builder clientToken(String clientToken)

      A unique token that Amazon SES uses to recognize subsequent retries of the same request.

      Parameters:
      clientToken - A unique token that Amazon SES uses to recognize subsequent retries of the same request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relayName

      CreateRelayRequest.Builder relayName(String relayName)

      The unique name of the relay resource.

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

      CreateRelayRequest.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

      CreateRelayRequest.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.
    • tags

      The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

      Parameters:
      tags - The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

      Parameters:
      tags - The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

      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<Tag>).

      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:
    • overrideConfiguration

      CreateRelayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.