Interface SystemPromptConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SystemPromptConfig.Builder,,SystemPromptConfig> SdkBuilder<SystemPromptConfig.Builder,,SystemPromptConfig> SdkPojo
- Enclosing class:
SystemPromptConfig
@Mutable
@NotThreadSafe
public static interface SystemPromptConfig.Builder
extends SdkPojo, CopyableBuilder<SystemPromptConfig.Builder,SystemPromptConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SystemPromptConfig.BuilderconfigurationBundle(Consumer<SystemPromptConfigurationBundle.Builder> configurationBundle) The system prompt sourced from a configuration bundle version.configurationBundle(SystemPromptConfigurationBundle configurationBundle) The system prompt sourced from a configuration bundle version.The system prompt text provided inline.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
-
text
The system prompt text provided inline.
- Parameters:
text- The system prompt text provided inline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationBundle
The system prompt sourced from a configuration bundle version.
- Parameters:
configurationBundle- The system prompt sourced from a configuration bundle version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationBundle
default SystemPromptConfig.Builder configurationBundle(Consumer<SystemPromptConfigurationBundle.Builder> configurationBundle) The system prompt sourced from a configuration bundle version.
This is a convenience method that creates an instance of theSystemPromptConfigurationBundle.Builderavoiding the need to create one manually viaSystemPromptConfigurationBundle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationBundle(SystemPromptConfigurationBundle).- Parameters:
configurationBundle- a consumer that will call methods onSystemPromptConfigurationBundle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-