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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailStreamConfiguration.BuilderguardrailIdentifier(String guardrailIdentifier)The identifier for the guardrail.GuardrailStreamConfiguration.BuilderguardrailVersion(String guardrailVersion)The version of the guardrail.GuardrailStreamConfiguration.BuilderstreamProcessingMode(String streamProcessingMode)The processing mode.GuardrailStreamConfiguration.BuilderstreamProcessingMode(GuardrailStreamProcessingMode streamProcessingMode)The processing mode.GuardrailStreamConfiguration.Buildertrace(String trace)The trace behavior for the guardrail.GuardrailStreamConfiguration.Buildertrace(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 Detail
-
guardrailIdentifier
GuardrailStreamConfiguration.Builder guardrailIdentifier(String 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
GuardrailStreamConfiguration.Builder guardrailVersion(String 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
GuardrailStreamConfiguration.Builder trace(String 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:
GuardrailTrace,GuardrailTrace
-
trace
GuardrailStreamConfiguration.Builder trace(GuardrailTrace 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:
GuardrailTrace,GuardrailTrace
-
streamProcessingMode
GuardrailStreamConfiguration.Builder streamProcessingMode(String 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:
GuardrailStreamProcessingMode,GuardrailStreamProcessingMode
-
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:
GuardrailStreamProcessingMode,GuardrailStreamProcessingMode
-
-