Interface GuardrailStreamConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailStreamConfiguration.Builder,
,GuardrailStreamConfiguration> SdkBuilder<GuardrailStreamConfiguration.Builder,
,GuardrailStreamConfiguration> SdkPojo
- Enclosing class:
GuardrailStreamConfiguration
public static interface GuardrailStreamConfiguration.Builder
extends SdkPojo, CopyableBuilder<GuardrailStreamConfiguration.Builder,GuardrailStreamConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionguardrailIdentifier
(String guardrailIdentifier) The identifier for the guardrail.guardrailVersion
(String guardrailVersion) The version of the guardrail.streamProcessingMode
(String streamProcessingMode) The processing mode.streamProcessingMode
(GuardrailStreamProcessingMode streamProcessingMode) The processing mode.The trace behavior for the guardrail.trace
(GuardrailTrace trace) The trace behavior for the guardrail.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
guardrailIdentifier
The identifier for the guardrail.
- Parameters:
guardrailIdentifier
- The identifier for the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailVersion
The version of the guardrail.
- Parameters:
guardrailVersion
- The version of the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trace
The trace behavior for the guardrail.
- Parameters:
trace
- The trace behavior for the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trace
The trace behavior for the guardrail.
- Parameters:
trace
- The trace behavior for the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
streamProcessingMode
The processing mode.
The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.
- Parameters:
streamProcessingMode
- The processing mode.The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
streamProcessingMode
GuardrailStreamConfiguration.Builder streamProcessingMode(GuardrailStreamProcessingMode streamProcessingMode) The processing mode.
The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.
- Parameters:
streamProcessingMode
- The processing mode.The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-