Interface StructuredMessageListDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StructuredMessageListDefinition.Builder,
,StructuredMessageListDefinition> SdkBuilder<StructuredMessageListDefinition.Builder,
,StructuredMessageListDefinition> SdkPojo
- Enclosing class:
StructuredMessageListDefinition
@Mutable
@NotThreadSafe
public static interface StructuredMessageListDefinition.Builder
extends SdkPojo, CopyableBuilder<StructuredMessageListDefinition.Builder,StructuredMessageListDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionThe capacity of the structured message list definition when the list type isFIXED_CAPACITY
orDYNAMIC_BOUNDED_CAPACITY
.The type of list of the structured message list definition.listType
(StructuredMessageListType listType) The type of list of the structured message list definition.memberType
(Consumer<StructuredMessage.Builder> memberType) The member type of the structured message list definition.memberType
(StructuredMessage memberType) The member type of the structured message list definition.The name of the structured message list definition.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
-
name
The name of the structured message list definition.
- Parameters:
name
- The name of the structured message list definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberType
The member type of the structured message list definition.
- Parameters:
memberType
- The member type of the structured message list definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberType
default StructuredMessageListDefinition.Builder memberType(Consumer<StructuredMessage.Builder> memberType) The member type of the structured message list definition.
This is a convenience method that creates an instance of theStructuredMessage.Builder
avoiding the need to create one manually viaStructuredMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberType(StructuredMessage)
.- Parameters:
memberType
- a consumer that will call methods onStructuredMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
listType
The type of list of the structured message list definition.
- Parameters:
listType
- The type of list of the structured message list definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
listType
The type of list of the structured message list definition.
- Parameters:
listType
- The type of list of the structured message list definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacity
The capacity of the structured message list definition when the list type is
FIXED_CAPACITY
orDYNAMIC_BOUNDED_CAPACITY
.- Parameters:
capacity
- The capacity of the structured message list definition when the list type isFIXED_CAPACITY
orDYNAMIC_BOUNDED_CAPACITY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-