public static final class CfnWebACLAssociationProps.Builder
extends java.lang.Object
CfnWebACLAssociationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACLAssociationProps |
build()
Builds the configured instance.
|
CfnWebACLAssociationProps.Builder |
resourceArn(java.lang.String resourceArn)
Sets the value of
CfnWebACLAssociationProps.getResourceArn() |
CfnWebACLAssociationProps.Builder |
webAclArn(java.lang.String webAclArn)
Sets the value of
CfnWebACLAssociationProps.getWebAclArn() |
public CfnWebACLAssociationProps.Builder resourceArn(java.lang.String resourceArn)
CfnWebACLAssociationProps.getResourceArn()
resourceArn
- The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This parameter is required.
The ARN must be in one of the following formats:
arn:aws:elasticloadbalancing: *region* : *account-id* :loadbalancer/app/ *load-balancer-name* / *load-balancer-id*
arn:aws:apigateway: *region* ::/restapis/ *api-id* /stages/ *stage-name*
arn:aws:appsync: *region* : *account-id* :apis/ *GraphQLApiId*
arn:aws:cognito-idp: *region* : *account-id* :userpool/ *user-pool-id*
arn:aws:apprunner: *region* : *account-id* :service/ *apprunner-service-name* / *apprunner-service-id*
this
public CfnWebACLAssociationProps.Builder webAclArn(java.lang.String webAclArn)
CfnWebACLAssociationProps.getWebAclArn()
webAclArn
- The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource. This parameter is required.this
public CfnWebACLAssociationProps build()
CfnWebACLAssociationProps
java.lang.NullPointerException
- if any required attribute was not provided