Interface CreateIpSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateIpSetResponse.Builder,
,CreateIpSetResponse> SdkBuilder<CreateIpSetResponse.Builder,
,CreateIpSetResponse> SdkPojo
,SdkResponse.Builder
,Wafv2Response.Builder
- Enclosing class:
CreateIpSetResponse
public static interface CreateIpSetResponse.Builder
extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<CreateIpSetResponse.Builder,CreateIpSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateIpSetResponse.Builder
summary
(Consumer<IPSetSummary.Builder> summary) High-level information about an IPSet, returned by operations like create and list.summary
(IPSetSummary summary) High-level information about an IPSet, returned by operations like create and list.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 Details
-
summary
High-level information about an IPSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage an
IPSet
, and the ARN, that you provide to the IPSetReferenceStatement to use the address set in a Rule.- Parameters:
summary
- High-level information about an IPSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage anIPSet
, and the ARN, that you provide to the IPSetReferenceStatement to use the address set in a Rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
High-level information about an IPSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage an
This is a convenience method that creates an instance of theIPSet
, and the ARN, that you provide to the IPSetReferenceStatement to use the address set in a Rule.IPSetSummary.Builder
avoiding the need to create one manually viaIPSetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummary(IPSetSummary)
.- Parameters:
summary
- a consumer that will call methods onIPSetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-