Interface GuardrailTopicPolicyConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailTopicPolicyConfig.Builder,GuardrailTopicPolicyConfig>,SdkBuilder<GuardrailTopicPolicyConfig.Builder,GuardrailTopicPolicyConfig>,SdkPojo
- Enclosing class:
- GuardrailTopicPolicyConfig
@Mutable @NotThreadSafe public static interface GuardrailTopicPolicyConfig.Builder extends SdkPojo, CopyableBuilder<GuardrailTopicPolicyConfig.Builder,GuardrailTopicPolicyConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GuardrailTopicPolicyConfig.BuildertierConfig(Consumer<GuardrailTopicsTierConfig.Builder> tierConfig)The tier that your guardrail uses for denied topic filters.GuardrailTopicPolicyConfig.BuildertierConfig(GuardrailTopicsTierConfig tierConfig)The tier that your guardrail uses for denied topic filters.GuardrailTopicPolicyConfig.BuildertopicsConfig(Collection<GuardrailTopicConfig> topicsConfig)A list of policies related to topics that the guardrail should deny.GuardrailTopicPolicyConfig.BuildertopicsConfig(Consumer<GuardrailTopicConfig.Builder>... topicsConfig)A list of policies related to topics that the guardrail should deny.GuardrailTopicPolicyConfig.BuildertopicsConfig(GuardrailTopicConfig... topicsConfig)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 Detail
-
topicsConfig
GuardrailTopicPolicyConfig.Builder topicsConfig(Collection<GuardrailTopicConfig> topicsConfig)
A list of policies related to topics that the guardrail should deny.
- Parameters:
topicsConfig- 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.
-
topicsConfig
GuardrailTopicPolicyConfig.Builder topicsConfig(GuardrailTopicConfig... topicsConfig)
A list of policies related to topics that the guardrail should deny.
- Parameters:
topicsConfig- 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.
-
topicsConfig
GuardrailTopicPolicyConfig.Builder topicsConfig(Consumer<GuardrailTopicConfig.Builder>... topicsConfig)
A list of policies related to topics that the guardrail should deny.
This is a convenience method that creates an instance of theGuardrailTopicConfig.Builderavoiding the need to create one manually viaGuardrailTopicConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topicsConfig(List.) - Parameters:
topicsConfig- a consumer that will call methods onGuardrailTopicConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topicsConfig(java.util.Collection)
-
tierConfig
GuardrailTopicPolicyConfig.Builder tierConfig(GuardrailTopicsTierConfig tierConfig)
The tier that your guardrail uses for denied topic filters.
- Parameters:
tierConfig- 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.
-
tierConfig
default GuardrailTopicPolicyConfig.Builder tierConfig(Consumer<GuardrailTopicsTierConfig.Builder> tierConfig)
The tier that your guardrail uses for denied topic filters.
This is a convenience method that creates an instance of theGuardrailTopicsTierConfig.Builderavoiding the need to create one manually viaGuardrailTopicsTierConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totierConfig(GuardrailTopicsTierConfig).- Parameters:
tierConfig- a consumer that will call methods onGuardrailTopicsTierConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tierConfig(GuardrailTopicsTierConfig)
-
-