Interface CreateWebAclMigrationStackRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWebAclMigrationStackRequest.Builder,
,CreateWebAclMigrationStackRequest> SdkBuilder<CreateWebAclMigrationStackRequest.Builder,
,CreateWebAclMigrationStackRequest> SdkPojo
,SdkRequest.Builder
,WafRequest.Builder
- Enclosing class:
CreateWebAclMigrationStackRequest
-
Method Summary
Modifier and TypeMethodDescriptionignoreUnsupportedType
(Boolean ignoreUnsupportedType) Indicates whether to exclude entities that can't be migrated or to stop the migration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.s3BucketName
(String s3BucketName) The name of the Amazon S3 bucket to store the CloudFormation template in.The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.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.waf.model.WafRequest.Builder
build
-
Method Details
-
webACLId
The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.
- Parameters:
webACLId
- The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketName
The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as follows for the migration:
-
The bucket name must start with
aws-waf-migration-
. For example,aws-waf-migration-my-web-acl
. -
The bucket must be in the Region where you are deploying the template. For example, for a web ACL in us-west-2, you must use an Amazon S3 bucket in us-west-2 and you must deploy the template stack to us-west-2.
-
The bucket policies must permit the migration process to write data. For listings of the bucket policies, see the Examples section.
- Parameters:
s3BucketName
- The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as follows for the migration:-
The bucket name must start with
aws-waf-migration-
. For example,aws-waf-migration-my-web-acl
. -
The bucket must be in the Region where you are deploying the template. For example, for a web ACL in us-west-2, you must use an Amazon S3 bucket in us-west-2 and you must deploy the template stack to us-west-2.
-
The bucket policies must permit the migration process to write data. For listings of the bucket policies, see the Examples section.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
ignoreUnsupportedType
Indicates whether to exclude entities that can't be migrated or to stop the migration. Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported entities, it stops the process and throws an exception.
- Parameters:
ignoreUnsupportedType
- Indicates whether to exclude entities that can't be migrated or to stop the migration. Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported entities, it stops the process and throws an exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWebAclMigrationStackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWebAclMigrationStackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-