Interface ApprovalPattern.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApprovalPattern.Builder,,ApprovalPattern> SdkBuilder<ApprovalPattern.Builder,,ApprovalPattern> SdkPojo
- Enclosing class:
ApprovalPattern
@Mutable
@NotThreadSafe
public static interface ApprovalPattern.Builder
extends SdkPojo, CopyableBuilder<ApprovalPattern.Builder,ApprovalPattern>
-
Method Summary
Modifier and TypeMethodDescriptionargumentPins(Map<String, String> argumentPins) Argument constraints that narrow which tool invocations the pattern matches.Identifier of the tool the pattern applies to (e.g.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
-
tool
Identifier of the tool the pattern applies to (e.g. `use_aws` for AWS actions, or a third-party tool name).
- Parameters:
tool- Identifier of the tool the pattern applies to (e.g. `use_aws` for AWS actions, or a third-party tool name).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
argumentPins
Argument constraints that narrow which tool invocations the pattern matches. For AWS tools, the map must include `operation` (the IAM action, e.g. `ec2:AuthorizeSecurityGroupIngress`) and `resource_arn` (the resource ARN or ARN glob); additional narrowing arguments go in further pin keys. The same `{tool, argumentPins}` shape is used uniformly for AWS and third-party tools, with tool-specific keys for third-party tools. Requests whose argument pins are collectively too large are rejected with a ValidationException.
- Parameters:
argumentPins- Argument constraints that narrow which tool invocations the pattern matches. For AWS tools, the map must include `operation` (the IAM action, e.g. `ec2:AuthorizeSecurityGroupIngress`) and `resource_arn` (the resource ARN or ARN glob); additional narrowing arguments go in further pin keys. The same `{tool, argumentPins}` shape is used uniformly for AWS and third-party tools, with tool-specific keys for third-party tools. Requests whose argument pins are collectively too large are rejected with a ValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-