Interface MessageInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MessageInput.Builder,,MessageInput> SdkBuilder<MessageInput.Builder,,MessageInput> SdkPojo
- Enclosing class:
MessageInput
@Mutable
@NotThreadSafe
public static interface MessageInput.Builder
extends SdkPojo, CopyableBuilder<MessageInput.Builder,MessageInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MessageInput.Buildervalue(Consumer<MessageData.Builder> value) The message input value.value(MessageData value) The message input value.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
value
The message input value.
- Parameters:
value- The message input value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The message input value.
This is a convenience method that creates an instance of theMessageData.Builderavoiding the need to create one manually viaMessageData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(MessageData).- Parameters:
value- a consumer that will call methods onMessageData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-