Interface StructuredMessage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StructuredMessage.Builder,StructuredMessage>,SdkBuilder<StructuredMessage.Builder,StructuredMessage>,SdkPojo
- Enclosing class:
- StructuredMessage
public static interface StructuredMessage.Builder extends SdkPojo, CopyableBuilder<StructuredMessage.Builder,StructuredMessage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StructuredMessage.BuilderprimitiveMessageDefinition(Consumer<PrimitiveMessageDefinition.Builder> primitiveMessageDefinition)Represents a primitive type node of the complex data structure.StructuredMessage.BuilderprimitiveMessageDefinition(PrimitiveMessageDefinition primitiveMessageDefinition)Represents a primitive type node of the complex data structure.StructuredMessage.BuilderstructuredMessageDefinition(Collection<StructuredMessageFieldNameAndDataTypePair> structuredMessageDefinition)Represents a struct type node of the complex data structure.StructuredMessage.BuilderstructuredMessageDefinition(Consumer<StructuredMessageFieldNameAndDataTypePair.Builder>... structuredMessageDefinition)Represents a struct type node of the complex data structure.StructuredMessage.BuilderstructuredMessageDefinition(StructuredMessageFieldNameAndDataTypePair... structuredMessageDefinition)Represents a struct type node of the complex data structure.default StructuredMessage.BuilderstructuredMessageListDefinition(Consumer<StructuredMessageListDefinition.Builder> structuredMessageListDefinition)Represents a list type node of the complex data structure.StructuredMessage.BuilderstructuredMessageListDefinition(StructuredMessageListDefinition structuredMessageListDefinition)Represents a list type node of the complex data structure.-
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
-
primitiveMessageDefinition
StructuredMessage.Builder primitiveMessageDefinition(PrimitiveMessageDefinition primitiveMessageDefinition)
Represents a primitive type node of the complex data structure.
- Parameters:
primitiveMessageDefinition- Represents a primitive type node of the complex data structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primitiveMessageDefinition
default StructuredMessage.Builder primitiveMessageDefinition(Consumer<PrimitiveMessageDefinition.Builder> primitiveMessageDefinition)
Represents a primitive type node of the complex data structure.
This is a convenience method that creates an instance of thePrimitiveMessageDefinition.Builderavoiding the need to create one manually viaPrimitiveMessageDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimitiveMessageDefinition(PrimitiveMessageDefinition).- Parameters:
primitiveMessageDefinition- a consumer that will call methods onPrimitiveMessageDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primitiveMessageDefinition(PrimitiveMessageDefinition)
-
structuredMessageListDefinition
StructuredMessage.Builder structuredMessageListDefinition(StructuredMessageListDefinition structuredMessageListDefinition)
Represents a list type node of the complex data structure.
- Parameters:
structuredMessageListDefinition- Represents a list type node of the complex data structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
structuredMessageListDefinition
default StructuredMessage.Builder structuredMessageListDefinition(Consumer<StructuredMessageListDefinition.Builder> structuredMessageListDefinition)
Represents a list type node of the complex data structure.
This is a convenience method that creates an instance of theStructuredMessageListDefinition.Builderavoiding the need to create one manually viaStructuredMessageListDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostructuredMessageListDefinition(StructuredMessageListDefinition).- Parameters:
structuredMessageListDefinition- a consumer that will call methods onStructuredMessageListDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
structuredMessageListDefinition(StructuredMessageListDefinition)
-
structuredMessageDefinition
StructuredMessage.Builder structuredMessageDefinition(Collection<StructuredMessageFieldNameAndDataTypePair> structuredMessageDefinition)
Represents a struct type node of the complex data structure.
- Parameters:
structuredMessageDefinition- Represents a struct type node of the complex data structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
structuredMessageDefinition
StructuredMessage.Builder structuredMessageDefinition(StructuredMessageFieldNameAndDataTypePair... structuredMessageDefinition)
Represents a struct type node of the complex data structure.
- Parameters:
structuredMessageDefinition- Represents a struct type node of the complex data structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
structuredMessageDefinition
StructuredMessage.Builder structuredMessageDefinition(Consumer<StructuredMessageFieldNameAndDataTypePair.Builder>... structuredMessageDefinition)
Represents a struct type node of the complex data structure.
This is a convenience method that creates an instance of theStructuredMessageFieldNameAndDataTypePair.Builderavoiding the need to create one manually viaStructuredMessageFieldNameAndDataTypePair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#structuredMessageDefinition(List.) - Parameters:
structuredMessageDefinition- a consumer that will call methods onStructuredMessageFieldNameAndDataTypePair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#structuredMessageDefinition(java.util.Collection)
-
-