Interface GetWebAclResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWebAclResponse.Builder,GetWebAclResponse>,SdkBuilder<GetWebAclResponse.Builder,GetWebAclResponse>,SdkPojo,SdkResponse.Builder,Wafv2Response.Builder
- Enclosing class:
- GetWebAclResponse
public static interface GetWebAclResponse.Builder extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<GetWebAclResponse.Builder,GetWebAclResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetWebAclResponse.BuilderapplicationIntegrationURL(String applicationIntegrationURL)The URL to use in SDK integrations with Amazon Web Services managed rule groups.GetWebAclResponse.BuilderlockToken(String lockToken)A token used for optimistic locking.default GetWebAclResponse.BuilderwebACL(Consumer<WebACL.Builder> webACL)The web ACL specification.GetWebAclResponse.BuilderwebACL(WebACL webACL)The web ACL specification.-
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
webACL
GetWebAclResponse.Builder webACL(WebACL webACL)
The web ACL specification. You can modify the settings in this web ACL and use it to update this web ACL or create a new one.
- Parameters:
webACL- The web ACL specification. You can modify the settings in this web ACL and use it to update this web ACL or create a new one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webACL
default GetWebAclResponse.Builder webACL(Consumer<WebACL.Builder> webACL)
The web ACL specification. You can modify the settings in this web ACL and use it to update this web ACL or create a new one.
This is a convenience method that creates an instance of theWebACL.Builderavoiding the need to create one manually viaWebACL.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebACL(WebACL).- Parameters:
webACL- a consumer that will call methods onWebACL.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
webACL(WebACL)
-
lockToken
GetWebAclResponse.Builder lockToken(String lockToken)
A token used for optimistic locking. WAF returns a token to your
getandlistrequests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations likeupdateanddelete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with aWAFOptimisticLockException. If this happens, perform anotherget, and use the new token returned by that operation.- Parameters:
lockToken- A token used for optimistic locking. WAF returns a token to yourgetandlistrequests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations likeupdateanddelete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with aWAFOptimisticLockException. If this happens, perform anotherget, and use the new token returned by that operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationIntegrationURL
GetWebAclResponse.Builder applicationIntegrationURL(String applicationIntegrationURL)
The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group
AWSManagedRulesATPRuleSetand the account creation fraud prevention managed rule groupAWSManagedRulesACFPRuleSet. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF client application integration in the WAF Developer Guide.- Parameters:
applicationIntegrationURL- The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule groupAWSManagedRulesATPRuleSetand the account creation fraud prevention managed rule groupAWSManagedRulesACFPRuleSet. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF client application integration in the WAF Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-