Interface CustomPromptInterface.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomPromptInterface.Builder,,CustomPromptInterface> SdkBuilder<CustomPromptInterface.Builder,,CustomPromptInterface> SdkPojo
- Enclosing class:
CustomPromptInterface
@Mutable
@NotThreadSafe
public static interface CustomPromptInterface.Builder
extends SdkPojo, CopyableBuilder<CustomPromptInterface.Builder,CustomPromptInterface>
-
Method Summary
Modifier and TypeMethodDescriptioncustomInstructions(String customInstructions) Custom instructions for the agent's behavior.Instructions that define the agent's identity and persona.modelProfileId(String modelProfileId) The identifier of the model profile.outputStyle(String outputStyle) Instructions for the desired output style.promptSummary(String promptSummary) A summary of the custom prompt configuration.qbsAwsAccountId(String qbsAwsAccountId) The Amazon Web Services account ID for the Q Business service.responseLength(String responseLength) Instructions for the desired response length.subscriptionId(String subscriptionId) The subscription identifier.Instructions for the desired tone of responses.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
-
modelProfileId
The identifier of the model profile.
- Parameters:
modelProfileId- The identifier of the model profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionId
The subscription identifier.
- Parameters:
subscriptionId- The subscription identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qbsAwsAccountId
The Amazon Web Services account ID for the Q Business service.
- Parameters:
qbsAwsAccountId- The Amazon Web Services account ID for the Q Business service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseLength
Instructions for the desired response length.
- Parameters:
responseLength- Instructions for the desired response length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputStyle
Instructions for the desired output style.
- Parameters:
outputStyle- Instructions for the desired output style.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
Instructions that define the agent's identity and persona.
- Parameters:
identity- Instructions that define the agent's identity and persona.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tone
Instructions for the desired tone of responses.
- Parameters:
tone- Instructions for the desired tone of responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customInstructions
Custom instructions for the agent's behavior.
- Parameters:
customInstructions- Custom instructions for the agent's behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promptSummary
A summary of the custom prompt configuration.
- Parameters:
promptSummary- A summary of the custom prompt configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-