Class CreateWebAclMigrationStackRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.waf.model.WafRequest
-
- software.amazon.awssdk.services.waf.model.CreateWebAclMigrationStackRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateWebAclMigrationStackRequest.Builder,CreateWebAclMigrationStackRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateWebAclMigrationStackRequest extends WafRequest implements ToCopyableBuilder<CreateWebAclMigrationStackRequest.Builder,CreateWebAclMigrationStackRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateWebAclMigrationStackRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateWebAclMigrationStackRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanignoreUnsupportedType()Indicates whether to exclude entities that can't be migrated or to stop the migration.Strings3BucketName()The name of the Amazon S3 bucket to store the CloudFormation template in.List<SdkField<?>>sdkFields()static Class<? extends CreateWebAclMigrationStackRequest.Builder>serializableBuilderClass()CreateWebAclMigrationStackRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwebACLId()The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
webACLId
public final String webACLId()
The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.
- Returns:
- The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.
-
s3BucketName
public final 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.
- Returns:
- 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.
-
-
-
ignoreUnsupportedType
public final 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.
- Returns:
- 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.
-
toBuilder
public CreateWebAclMigrationStackRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateWebAclMigrationStackRequest.Builder,CreateWebAclMigrationStackRequest>- Specified by:
toBuilderin classWafRequest
-
builder
public static CreateWebAclMigrationStackRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateWebAclMigrationStackRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-