Interface BedrockGuardrailsRequestOnly.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BedrockGuardrailsRequestOnly.Builder,,BedrockGuardrailsRequestOnly> SdkBuilder<BedrockGuardrailsRequestOnly.Builder,,BedrockGuardrailsRequestOnly> SdkPojo
- Enclosing class:
BedrockGuardrailsRequestOnly
@Mutable
@NotThreadSafe
public static interface BedrockGuardrailsRequestOnly.Builder
extends SdkPojo, CopyableBuilder<BedrockGuardrailsRequestOnly.Builder,BedrockGuardrailsRequestOnly>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the IAM role that WAF uses to call Amazon Bedrock Guardrails for the rule group.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
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that WAF uses to call Amazon Bedrock Guardrails for the rule group. The role must be in the same Amazon Web Services account as the web ACL.
To specify the role, you must have permission to call
iam:PassRoleon it, to pass it to the WAF service principalwafv2.amazonaws.com.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that WAF uses to call Amazon Bedrock Guardrails for the rule group. The role must be in the same Amazon Web Services account as the web ACL.To specify the role, you must have permission to call
iam:PassRoleon it, to pass it to the WAF service principalwafv2.amazonaws.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-