Interface Payload.Builder

    • Method Detail

      • 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:
        PayloadType, PayloadType
      • type

        Payload.Builder type​(PayloadType 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:
        PayloadType, PayloadType