Interface AWSManagedRulesAISecurityRuleSet.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AWSManagedRulesAISecurityRuleSet.Builder,,AWSManagedRulesAISecurityRuleSet> SdkBuilder<AWSManagedRulesAISecurityRuleSet.Builder,,AWSManagedRulesAISecurityRuleSet> SdkPojo
- Enclosing class:
AWSManagedRulesAISecurityRuleSet
@Mutable
@NotThreadSafe
public static interface AWSManagedRulesAISecurityRuleSet.Builder
extends SdkPojo, CopyableBuilder<AWSManagedRulesAISecurityRuleSet.Builder,AWSManagedRulesAISecurityRuleSet>
-
Method Summary
Modifier and TypeMethodDescriptionbedrockGuardrails(Consumer<BedrockGuardrails.Builder> bedrockGuardrails) Specifies whether and how the rule group uses Amazon Bedrock Guardrails.bedrockGuardrails(BedrockGuardrails bedrockGuardrails) Specifies whether and how the rule group uses Amazon Bedrock Guardrails.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bedrockGuardrails
Specifies whether and how the rule group uses Amazon Bedrock Guardrails.
- Parameters:
bedrockGuardrails- Specifies whether and how the rule group uses Amazon Bedrock Guardrails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockGuardrails
default AWSManagedRulesAISecurityRuleSet.Builder bedrockGuardrails(Consumer<BedrockGuardrails.Builder> bedrockGuardrails) Specifies whether and how the rule group uses Amazon Bedrock Guardrails.
This is a convenience method that creates an instance of theBedrockGuardrails.Builderavoiding the need to create one manually viaBedrockGuardrails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockGuardrails(BedrockGuardrails).- Parameters:
bedrockGuardrails- a consumer that will call methods onBedrockGuardrails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-