Interface Payload.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Payload.Builder,
,Payload> SdkBuilder<Payload.Builder,
,Payload> SdkPojo
- Enclosing class:
Payload
-
Method Summary
Modifier and TypeMethodDescriptioncontentExpression
(String contentExpression) The content of the payload.The value of the payload type can be eitherSTRING
orJSON
.type
(PayloadType type) The value of the payload type can be eitherSTRING
orJSON
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
The value of the payload type can be either
STRING
orJSON
.- Parameters:
type
- The value of the payload type can be eitherSTRING
orJSON
.- 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
orJSON
.- Parameters:
type
- The value of the payload type can be eitherSTRING
orJSON
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-