Interface CreateWebAclMigrationStackRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWebAclMigrationStackRequest.Builder,CreateWebAclMigrationStackRequest>,SdkBuilder<CreateWebAclMigrationStackRequest.Builder,CreateWebAclMigrationStackRequest>,SdkPojo,SdkRequest.Builder,WafRequest.Builder
- Enclosing class:
- CreateWebAclMigrationStackRequest
public static interface CreateWebAclMigrationStackRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<CreateWebAclMigrationStackRequest.Builder,CreateWebAclMigrationStackRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWebAclMigrationStackRequest.BuilderignoreUnsupportedType(Boolean ignoreUnsupportedType)Indicates whether to exclude entities that can't be migrated or to stop the migration.CreateWebAclMigrationStackRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWebAclMigrationStackRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateWebAclMigrationStackRequest.Builders3BucketName(String s3BucketName)The name of the Amazon S3 bucket to store the CloudFormation template in.CreateWebAclMigrationStackRequest.BuilderwebACLId(String webACLId)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 Detail
-
webACLId
CreateWebAclMigrationStackRequest.Builder webACLId(String 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
CreateWebAclMigrationStackRequest.Builder s3BucketName(String 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
CreateWebAclMigrationStackRequest.Builder ignoreUnsupportedType(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWebAclMigrationStackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-