Interface StructuredMessage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StructuredMessage.Builder,
,StructuredMessage> SdkBuilder<StructuredMessage.Builder,
,StructuredMessage> SdkPojo
- Enclosing class:
StructuredMessage
-
Method Summary
Modifier and TypeMethodDescriptiondefault StructuredMessage.Builder
primitiveMessageDefinition
(Consumer<PrimitiveMessageDefinition.Builder> primitiveMessageDefinition) Represents a primitive type node of the complex data structure.primitiveMessageDefinition
(PrimitiveMessageDefinition primitiveMessageDefinition) Represents a primitive type node of the complex data structure.structuredMessageDefinition
(Collection<StructuredMessageFieldNameAndDataTypePair> structuredMessageDefinition) Represents a struct type node of the complex data structure.structuredMessageDefinition
(Consumer<StructuredMessageFieldNameAndDataTypePair.Builder>... structuredMessageDefinition) Represents a struct type node of the complex data structure.structuredMessageDefinition
(StructuredMessageFieldNameAndDataTypePair... structuredMessageDefinition) Represents a struct type node of the complex data structure.default StructuredMessage.Builder
structuredMessageListDefinition
(Consumer<StructuredMessageListDefinition.Builder> structuredMessageListDefinition) Represents a list type node of the complex data structure.structuredMessageListDefinition
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.Builder
avoiding the need to create one manually viaPrimitiveMessageDefinition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaStructuredMessageListDefinition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaStructuredMessageFieldNameAndDataTypePair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostructuredMessageDefinition(List<StructuredMessageFieldNameAndDataTypePair>)
.- 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:
-