Interface GuardrailTopic.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailTopic.Builder,GuardrailTopic>,SdkBuilder<GuardrailTopic.Builder,GuardrailTopic>,SdkPojo
- Enclosing class:
- GuardrailTopic
public static interface GuardrailTopic.Builder extends SdkPojo, CopyableBuilder<GuardrailTopic.Builder,GuardrailTopic>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailTopic.Builderaction(String action)The action the guardrail should take when it intervenes on a topic.GuardrailTopic.Builderaction(GuardrailTopicPolicyAction action)The action the guardrail should take when it intervenes on a topic.GuardrailTopic.Buildername(String name)The name for the guardrail.GuardrailTopic.Buildertype(String type)The type behavior that the guardrail should perform when the model detects the topic.GuardrailTopic.Buildertype(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, sdkFields
-
-
-
-
Method Detail
-
name
GuardrailTopic.Builder name(String 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
GuardrailTopic.Builder type(String 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:
GuardrailTopicType,GuardrailTopicType
-
type
GuardrailTopic.Builder type(GuardrailTopicType 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:
GuardrailTopicType,GuardrailTopicType
-
action
GuardrailTopic.Builder action(String 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:
GuardrailTopicPolicyAction,GuardrailTopicPolicyAction
-
action
GuardrailTopic.Builder action(GuardrailTopicPolicyAction 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:
GuardrailTopicPolicyAction,GuardrailTopicPolicyAction
-
-