Interface AIGuardrailTopicPolicyConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AIGuardrailTopicPolicyConfig.Builder,AIGuardrailTopicPolicyConfig>,SdkBuilder<AIGuardrailTopicPolicyConfig.Builder,AIGuardrailTopicPolicyConfig>,SdkPojo
- Enclosing class:
- AIGuardrailTopicPolicyConfig
public static interface AIGuardrailTopicPolicyConfig.Builder extends SdkPojo, CopyableBuilder<AIGuardrailTopicPolicyConfig.Builder,AIGuardrailTopicPolicyConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AIGuardrailTopicPolicyConfig.BuildertopicsConfig(Collection<GuardrailTopicConfig> topicsConfig)A list of policies related to topics that the AI Guardrail should deny.AIGuardrailTopicPolicyConfig.BuildertopicsConfig(Consumer<GuardrailTopicConfig.Builder>... topicsConfig)A list of policies related to topics that the AI Guardrail should deny.AIGuardrailTopicPolicyConfig.BuildertopicsConfig(GuardrailTopicConfig... topicsConfig)A list of policies related to topics that the AI 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
AIGuardrailTopicPolicyConfig.Builder topicsConfig(Collection<GuardrailTopicConfig> topicsConfig)
A list of policies related to topics that the AI Guardrail should deny.
- Parameters:
topicsConfig- A list of policies related to topics that the AI Guardrail should deny.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicsConfig
AIGuardrailTopicPolicyConfig.Builder topicsConfig(GuardrailTopicConfig... topicsConfig)
A list of policies related to topics that the AI Guardrail should deny.
- Parameters:
topicsConfig- A list of policies related to topics that the AI Guardrail should deny.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicsConfig
AIGuardrailTopicPolicyConfig.Builder topicsConfig(Consumer<GuardrailTopicConfig.Builder>... topicsConfig)
A list of policies related to topics that the AI 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)
-
-