Interface DataConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataConfiguration.Builder,,DataConfiguration> SdkBuilder<DataConfiguration.Builder,,DataConfiguration> SdkPojo
- Enclosing class:
DataConfiguration
@Mutable
@NotThreadSafe
public static interface DataConfiguration.Builder
extends SdkPojo, CopyableBuilder<DataConfiguration.Builder,DataConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataConfiguration.BuildercontextFulfillmentConfiguration(Consumer<ContextFulfillmentConfiguration.Builder> contextFulfillmentConfiguration) How the context is fetched.contextFulfillmentConfiguration(ContextFulfillmentConfiguration contextFulfillmentConfiguration) How the context is fetched.contextFulfillmentTiming(String contextFulfillmentTiming) When the context is hydrated.contextFulfillmentTiming(ContextFulfillmentTiming contextFulfillmentTiming) When the context is hydrated.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
-
contextFulfillmentTiming
When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.
- Parameters:
contextFulfillmentTiming- When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contextFulfillmentTiming
DataConfiguration.Builder contextFulfillmentTiming(ContextFulfillmentTiming contextFulfillmentTiming) When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.
- Parameters:
contextFulfillmentTiming- When the context is hydrated. Context can be hydrated once when the session is initialized, or before each turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contextFulfillmentConfiguration
DataConfiguration.Builder contextFulfillmentConfiguration(ContextFulfillmentConfiguration contextFulfillmentConfiguration) How the context is fetched.
- Parameters:
contextFulfillmentConfiguration- How the context is fetched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextFulfillmentConfiguration
default DataConfiguration.Builder contextFulfillmentConfiguration(Consumer<ContextFulfillmentConfiguration.Builder> contextFulfillmentConfiguration) How the context is fetched.
This is a convenience method that creates an instance of theContextFulfillmentConfiguration.Builderavoiding the need to create one manually viaContextFulfillmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextFulfillmentConfiguration(ContextFulfillmentConfiguration).- Parameters:
contextFulfillmentConfiguration- a consumer that will call methods onContextFulfillmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-