Interface GuardrailTopic.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailTopic.Builder,
,GuardrailTopic> SdkBuilder<GuardrailTopic.Builder,
,GuardrailTopic> SdkPojo
- Enclosing class:
GuardrailTopic
@Mutable
@NotThreadSafe
public static interface GuardrailTopic.Builder
extends SdkPojo, CopyableBuilder<GuardrailTopic.Builder,GuardrailTopic>
-
Method Summary
Modifier and TypeMethodDescriptionThe action the guardrail should take when it intervenes on a topic.action
(GuardrailTopicPolicyAction action) The action the guardrail should take when it intervenes on a topic.Indicates whether topic content that breaches the guardrail configuration is detected.The name for the guardrail.The type behavior that the guardrail should perform when the model detects the topic.type
(GuardrailTopicType type) The type behavior that the guardrail should perform when the model detects the topic.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name for the guardrail.
- Parameters:
name
- The name for the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type behavior that the guardrail should perform when the model detects the topic.
- Parameters:
type
- The type behavior that the guardrail should perform when the model detects the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type behavior that the guardrail should perform when the model detects the topic.
- Parameters:
type
- The type behavior that the guardrail should perform when the model detects the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action the guardrail should take when it intervenes on a topic.
- Parameters:
action
- The action the guardrail should take when it intervenes on a topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action the guardrail should take when it intervenes on a topic.
- Parameters:
action
- The action the guardrail should take when it intervenes on a topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detected
Indicates whether topic content that breaches the guardrail configuration is detected.
- Parameters:
detected
- Indicates whether topic content that breaches the guardrail configuration is detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-