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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Payload.BuildercontentExpression(String contentExpression)The content of the payload.Payload.Buildertype(String type)The value of the payload type can be eitherSTRINGorJSON.Payload.Buildertype(PayloadType type)The value of the payload type can be eitherSTRINGorJSON.-
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 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
STRINGorJSON.- Parameters:
type- The value of the payload type can be eitherSTRINGorJSON.- 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
STRINGorJSON.- Parameters:
type- The value of the payload type can be eitherSTRINGorJSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PayloadType,PayloadType
-
-