Interface AddHeaderAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AddHeaderAction.Builder,AddHeaderAction>, SdkBuilder<AddHeaderAction.Builder,AddHeaderAction>, SdkPojo
Enclosing class:
AddHeaderAction

public static interface AddHeaderAction.Builder extends SdkPojo, CopyableBuilder<AddHeaderAction.Builder,AddHeaderAction>
  • Method Details

    • headerName

      AddHeaderAction.Builder headerName(String headerName)

      The name of the header to add to the incoming message. The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.

      Parameters:
      headerName - The name of the header to add to the incoming message. The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • headerValue

      AddHeaderAction.Builder headerValue(String headerValue)

      The content to include in the header. This value can contain up to 2048 characters. It can't contain newline (\n) or carriage return (\r) characters.

      Parameters:
      headerValue - The content to include in the header. This value can contain up to 2048 characters. It can't contain newline (\n) or carriage return (\r) characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.