Interface GuardrailTopicPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailTopicPolicy.Builder,GuardrailTopicPolicy>,SdkBuilder<GuardrailTopicPolicy.Builder,GuardrailTopicPolicy>,SdkPojo
- Enclosing class:
- GuardrailTopicPolicy
public static interface GuardrailTopicPolicy.Builder extends SdkPojo, CopyableBuilder<GuardrailTopicPolicy.Builder,GuardrailTopicPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailTopicPolicy.Buildertopics(Collection<GuardrailTopic> topics)A list of policies related to topics that the guardrail should deny.GuardrailTopicPolicy.Buildertopics(Consumer<GuardrailTopic.Builder>... topics)A list of policies related to topics that the guardrail should deny.GuardrailTopicPolicy.Buildertopics(GuardrailTopic... topics)A list of policies related to topics that the guardrail should deny.-
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
-
topics
GuardrailTopicPolicy.Builder topics(Collection<GuardrailTopic> topics)
A list of policies related to topics that the guardrail should deny.
- Parameters:
topics- A list of policies related to topics that the guardrail should deny.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
GuardrailTopicPolicy.Builder topics(GuardrailTopic... topics)
A list of policies related to topics that the guardrail should deny.
- Parameters:
topics- A list of policies related to topics that the guardrail should deny.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
GuardrailTopicPolicy.Builder topics(Consumer<GuardrailTopic.Builder>... topics)
A list of policies related to topics that the guardrail should deny.
This is a convenience method that creates an instance of theGuardrailTopic.Builderavoiding the need to create one manually viaGuardrailTopic.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topics(List.) - Parameters:
topics- a consumer that will call methods onGuardrailTopic.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topics(java.util.Collection)
-
-