public static interface IPSetUpdate.Builder extends CopyableBuilder<IPSetUpdate.Builder,IPSetUpdate>
Modifier and Type | Method and Description |
---|---|
IPSetUpdate.Builder |
action(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
IPSetUpdate.Builder |
action(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
default IPSetUpdate.Builder |
ipSetDescriptor(Consumer<IPSetDescriptor.Builder> ipSetDescriptor)
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that
web requests originate from. |
IPSetUpdate.Builder |
ipSetDescriptor(IPSetDescriptor ipSetDescriptor)
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that
web requests originate from. |
copy
applyMutation, build
IPSetUpdate.Builder action(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action
- Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeAction
,
ChangeAction
IPSetUpdate.Builder action(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action
- Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeAction
,
ChangeAction
IPSetUpdate.Builder ipSetDescriptor(IPSetDescriptor ipSetDescriptor)
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that
web requests originate from.
ipSetDescriptor
- The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR
notation) that web requests originate from.default IPSetUpdate.Builder ipSetDescriptor(Consumer<IPSetDescriptor.Builder> ipSetDescriptor)
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that
web requests originate from.
IPSetDescriptor.Builder
avoiding the need to
create one manually via IPSetDescriptor.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to ipSetDescriptor(IPSetDescriptor)
.ipSetDescriptor
- a consumer that will call methods on IPSetDescriptor.Builder
ipSetDescriptor(IPSetDescriptor)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.