Interface Payload.Builder

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

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

    • contentExpression

      Payload.Builder contentExpression(String contentExpression)

      The content of the payload. You can use a string expression that includes quoted strings ( '<string>'), variables ($variable.<variable-name>), input values ( $input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.

      Parameters:
      contentExpression - The content of the payload. You can use a string expression that includes quoted strings ( '<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Payload.Builder type(String type)

      The value of the payload type can be either STRING or JSON.

      Parameters:
      type - The value of the payload type can be either STRING or JSON.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The value of the payload type can be either STRING or JSON.

      Parameters:
      type - The value of the payload type can be either STRING or JSON.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: