Interface PayloadType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PayloadType.Builder,,PayloadType> SdkBuilder<PayloadType.Builder,,PayloadType> SdkPojo
- Enclosing class:
- PayloadType
@Mutable
@NotThreadSafe
public static interface PayloadType.Builder
extends SdkPojo, CopyableBuilder<PayloadType.Builder,PayloadType>
-
Method Summary
Modifier and TypeMethodDescriptionThe binary content of the payload.default PayloadType.Builderconversational(Consumer<Conversational.Builder> conversational) The conversational content of the payload.conversational(Conversational conversational) The conversational content of the payload.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
-
conversational
The conversational content of the payload.
- Parameters:
conversational- The conversational content of the payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversational
The conversational content of the payload.
This is a convenience method that creates an instance of theConversational.Builderavoiding the need to create one manually viaConversational.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconversational(Conversational).- Parameters:
conversational- a consumer that will call methods onConversational.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blob
The binary content of the payload.
- Parameters:
blob- The binary content of the payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-