Interface CheckCapacityRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CheckCapacityRequest.Builder,CheckCapacityRequest>,SdkBuilder<CheckCapacityRequest.Builder,CheckCapacityRequest>,SdkPojo,SdkRequest.Builder,Wafv2Request.Builder
- Enclosing class:
- CheckCapacityRequest
public static interface CheckCapacityRequest.Builder extends Wafv2Request.Builder, SdkPojo, CopyableBuilder<CheckCapacityRequest.Builder,CheckCapacityRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckCapacityRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CheckCapacityRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CheckCapacityRequest.Builderrules(Collection<Rule> rules)An array of Rule that you're configuring to use in a rule group or web ACL.CheckCapacityRequest.Builderrules(Consumer<Rule.Builder>... rules)An array of Rule that you're configuring to use in a rule group or web ACL.CheckCapacityRequest.Builderrules(Rule... rules)An array of Rule that you're configuring to use in a rule group or web ACL.CheckCapacityRequest.Builderscope(String scope)Specifies whether this is for an Amazon CloudFront distribution or for a regional application.CheckCapacityRequest.Builderscope(Scope scope)Specifies whether this is for an Amazon CloudFront distribution or for a regional application.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Request.Builder
build
-
-
-
-
Method Detail
-
scope
CheckCapacityRequest.Builder scope(String scope)
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
- Parameters:
scope- Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Scope,Scope
-
-
scope
CheckCapacityRequest.Builder scope(Scope scope)
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
- Parameters:
scope- Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Scope,Scope
-
-
rules
CheckCapacityRequest.Builder rules(Collection<Rule> rules)
An array of Rule that you're configuring to use in a rule group or web ACL.
- Parameters:
rules- An array of Rule that you're configuring to use in a rule group or web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
CheckCapacityRequest.Builder rules(Rule... rules)
An array of Rule that you're configuring to use in a rule group or web ACL.
- Parameters:
rules- An array of Rule that you're configuring to use in a rule group or web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
CheckCapacityRequest.Builder rules(Consumer<Rule.Builder>... rules)
An array of Rule that you're configuring to use in a rule group or web ACL.
This is a convenience method that creates an instance of theRule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - Parameters:
rules- a consumer that will call methods onRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
overrideConfiguration
CheckCapacityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CheckCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-