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