Interface StructuredMessageListDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StructuredMessageListDefinition.Builder,StructuredMessageListDefinition>,SdkBuilder<StructuredMessageListDefinition.Builder,StructuredMessageListDefinition>,SdkPojo
- Enclosing class:
- StructuredMessageListDefinition
public static interface StructuredMessageListDefinition.Builder extends SdkPojo, CopyableBuilder<StructuredMessageListDefinition.Builder,StructuredMessageListDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StructuredMessageListDefinition.Buildercapacity(Integer capacity)The capacity of the structured message list definition when the list type isFIXED_CAPACITYorDYNAMIC_BOUNDED_CAPACITY.StructuredMessageListDefinition.BuilderlistType(String listType)The type of list of the structured message list definition.StructuredMessageListDefinition.BuilderlistType(StructuredMessageListType listType)The type of list of the structured message list definition.default StructuredMessageListDefinition.BuildermemberType(Consumer<StructuredMessage.Builder> memberType)The member type of the structured message list definition.StructuredMessageListDefinition.BuildermemberType(StructuredMessage memberType)The member type of the structured message list definition.StructuredMessageListDefinition.Buildername(String name)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, sdkFields
-
-
-
-
Method Detail
-
name
StructuredMessageListDefinition.Builder name(String 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
StructuredMessageListDefinition.Builder memberType(StructuredMessage 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.Builderavoiding the need to create one manually viaStructuredMessage.builder().When the
Consumercompletes,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:
memberType(StructuredMessage)
-
listType
StructuredMessageListDefinition.Builder listType(String 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:
StructuredMessageListType,StructuredMessageListType
-
listType
StructuredMessageListDefinition.Builder listType(StructuredMessageListType 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:
StructuredMessageListType,StructuredMessageListType
-
capacity
StructuredMessageListDefinition.Builder capacity(Integer capacity)
The capacity of the structured message list definition when the list type is
FIXED_CAPACITYorDYNAMIC_BOUNDED_CAPACITY.- Parameters:
capacity- The capacity of the structured message list definition when the list type isFIXED_CAPACITYorDYNAMIC_BOUNDED_CAPACITY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-