Interface GuardrailTopicPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailTopicPolicy.Builder,
,GuardrailTopicPolicy> SdkBuilder<GuardrailTopicPolicy.Builder,
,GuardrailTopicPolicy> SdkPojo
- Enclosing class:
GuardrailTopicPolicy
@Mutable
@NotThreadSafe
public static interface GuardrailTopicPolicy.Builder
extends SdkPojo, CopyableBuilder<GuardrailTopicPolicy.Builder,GuardrailTopicPolicy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GuardrailTopicPolicy.Builder
The tier that your guardrail uses for denied topic filters.tier
(GuardrailTopicsTier tier) The tier that your guardrail uses for denied topic filters.topics
(Collection<GuardrailTopic> topics) A list of policies related to topics that the guardrail should deny.topics
(Consumer<GuardrailTopic.Builder>... topics) A list of policies related to topics that the guardrail should deny.topics
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
A list of policies related to topics that the guardrail should deny.
This is a convenience method that creates an instance of theGuardrailTopic.Builder
avoiding the need to create one manually viaGuardrailTopic.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopics(List<GuardrailTopic>)
.- 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:
-
tier
The tier that your guardrail uses for denied topic filters.
- Parameters:
tier
- The tier that your guardrail uses for denied topic filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tier
The tier that your guardrail uses for denied topic filters.
This is a convenience method that creates an instance of theGuardrailTopicsTier.Builder
avoiding the need to create one manually viaGuardrailTopicsTier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totier(GuardrailTopicsTier)
.- Parameters:
tier
- a consumer that will call methods onGuardrailTopicsTier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-