Interface GetWebAclForResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWebAclForResourceResponse.Builder,,GetWebAclForResourceResponse> SdkBuilder<GetWebAclForResourceResponse.Builder,,GetWebAclForResourceResponse> SdkPojo,SdkResponse.Builder,Wafv2Response.Builder
- Enclosing class:
GetWebAclForResourceResponse
public static interface GetWebAclForResourceResponse.Builder
extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<GetWebAclForResourceResponse.Builder,GetWebAclForResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionwebACL(Consumer<WebACL.Builder> webACL) The web ACL that is associated with the resource.The web ACL that is associated with the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
webACL
The web ACL that is associated with the resource. If there is no associated resource, WAF returns a null web ACL.
- Parameters:
webACL- The web ACL that is associated with the resource. If there is no associated resource, WAF returns a null web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webACL
The web ACL that is associated with the resource. If there is no associated resource, WAF returns a null web ACL.
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:
-