Class MessageAttribute.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.MessageAttribute.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MessageAttribute>
- Enclosing interface:
MessageAttribute
@Stability(Stable)
public static final class MessageAttribute.Builder
extends Object
implements software.amazon.jsii.Builder<MessageAttribute>
A builder for
MessageAttribute-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataType(MessageAttributeDataType dataType) Sets the value ofMessageAttribute.getDataType()Sets the value ofMessageAttribute.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
Sets the value ofMessageAttribute.getValue()- Parameters:
value- The value of the attribute. This parameter is required.- Returns:
this
-
dataType
Sets the value ofMessageAttribute.getDataType()- Parameters:
dataType- The data type for the attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MessageAttribute>- Returns:
- a new instance of
MessageAttribute - Throws:
NullPointerException- if any required attribute was not provided
-