Interface GetWebAclForResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetWebAclForResourceResponse.Builder,
,GetWebAclForResourceResponse> SdkBuilder<GetWebAclForResourceResponse.Builder,
,GetWebAclForResourceResponse> SdkPojo
,SdkResponse.Builder
,WafResponse.Builder
- Enclosing class:
GetWebAclForResourceResponse
public static interface GetWebAclForResourceResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetWebAclForResourceResponse.Builder,GetWebAclForResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionwebACLSummary
(Consumer<WebACLSummary.Builder> webACLSummary) Information about the web ACL that you specified in theGetWebACLForResource
request.webACLSummary
(WebACLSummary webACLSummary) Information about the web ACL that you specified in theGetWebACLForResource
request.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.waf.model.WafResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
webACLSummary
Information about the web ACL that you specified in the
GetWebACLForResource
request. If there is no associated resource, a null WebACLSummary is returned.- Parameters:
webACLSummary
- Information about the web ACL that you specified in theGetWebACLForResource
request. If there is no associated resource, a null WebACLSummary is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webACLSummary
default GetWebAclForResourceResponse.Builder webACLSummary(Consumer<WebACLSummary.Builder> webACLSummary) Information about the web ACL that you specified in the
This is a convenience method that creates an instance of theGetWebACLForResource
request. If there is no associated resource, a null WebACLSummary is returned.WebACLSummary.Builder
avoiding the need to create one manually viaWebACLSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebACLSummary(WebACLSummary)
.- Parameters:
webACLSummary
- a consumer that will call methods onWebACLSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-