Interface CreateApiKeyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>,SdkBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>,SdkPojo,SdkRequest.Builder,Wafv2Request.Builder
- Enclosing class:
- CreateApiKeyRequest
public static interface CreateApiKeyRequest.Builder extends Wafv2Request.Builder, SdkPojo, CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateApiKeyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateApiKeyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateApiKeyRequest.Builderscope(String scope)Specifies whether this is for an Amazon CloudFront distribution or for a regional application.CreateApiKeyRequest.Builderscope(Scope scope)Specifies whether this is for an Amazon CloudFront distribution or for a regional application.CreateApiKeyRequest.BuildertokenDomains(String... tokenDomains)The client application domains that you want to use this API key for.CreateApiKeyRequest.BuildertokenDomains(Collection<String> tokenDomains)The client application domains that you want to use this API key for.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Request.Builder
build
-
-
-
-
Method Detail
-
scope
CreateApiKeyRequest.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
CreateApiKeyRequest.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
-
-
tokenDomains
CreateApiKeyRequest.Builder tokenDomains(Collection<String> tokenDomains)
The client application domains that you want to use this API key for.
Example JSON:
"TokenDomains": ["abc.com", "store.abc.com"]Public suffixes aren't allowed. For example, you can't use
gov.auorco.ukas token domains.- Parameters:
tokenDomains- The client application domains that you want to use this API key for.Example JSON:
"TokenDomains": ["abc.com", "store.abc.com"]Public suffixes aren't allowed. For example, you can't use
gov.auorco.ukas token domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenDomains
CreateApiKeyRequest.Builder tokenDomains(String... tokenDomains)
The client application domains that you want to use this API key for.
Example JSON:
"TokenDomains": ["abc.com", "store.abc.com"]Public suffixes aren't allowed. For example, you can't use
gov.auorco.ukas token domains.- Parameters:
tokenDomains- The client application domains that you want to use this API key for.Example JSON:
"TokenDomains": ["abc.com", "store.abc.com"]Public suffixes aren't allowed. For example, you can't use
gov.auorco.ukas token domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApiKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateApiKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-