Interface SuppressedDestination.Builder

  • Method Details

    • emailAddress

      SuppressedDestination.Builder emailAddress(String emailAddress)

      The email address that is on the suppression list for your account or for a specific tenant.

      Parameters:
      emailAddress - The email address that is on the suppression list for your account or for a specific tenant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reason

      The reason that the address was added to the suppression list for your account or for a specific tenant.

      Parameters:
      reason - The reason that the address was added to the suppression list for your account or for a specific tenant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reason

      The reason that the address was added to the suppression list for your account or for a specific tenant.

      Parameters:
      reason - The reason that the address was added to the suppression list for your account or for a specific tenant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdateTime

      SuppressedDestination.Builder lastUpdateTime(Instant lastUpdateTime)

      The date and time when the suppressed destination was last updated, shown in Unix time format.

      Parameters:
      lastUpdateTime - The date and time when the suppressed destination was last updated, shown in Unix time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account or for a specific tenant.

      Parameters:
      attributes - An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account or for a specific tenant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account or for a specific tenant.

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

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

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

      SuppressedDestination.Builder tenantName(String tenantName)

      The name of the tenant that the suppressed destination belongs to. This field is present only when the suppressed destination is on a tenant's suppression list.

      Parameters:
      tenantName - The name of the tenant that the suppressed destination belongs to. This field is present only when the suppressed destination is on a tenant's suppression list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.