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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetWebAclForResourceResponse.BuilderwebACL(Consumer<WebACL.Builder> webACL)The web ACL that is associated with the resource.GetWebAclForResourceResponse.BuilderwebACL(WebACL webACL)The web ACL that is associated with the resource.-
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, sdkFieldNameToField, 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
GetWebAclForResourceResponse.Builder webACL(WebACL 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
default GetWebAclForResourceResponse.Builder webACL(Consumer<WebACL.Builder> 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:
webACL(WebACL)
-
-