public static interface IPSet.Builder extends CopyableBuilder<IPSet.Builder,IPSet>
Modifier and Type | Method and Description |
---|---|
IPSet.Builder |
ipSetDescriptors(Collection<IPSetDescriptor> ipSetDescriptors)
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that
web requests originate from. |
IPSet.Builder |
ipSetDescriptors(Consumer<IPSetDescriptor.Builder>... ipSetDescriptors)
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that
web requests originate from. |
IPSet.Builder |
ipSetDescriptors(IPSetDescriptor... ipSetDescriptors)
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that
web requests originate from. |
IPSet.Builder |
ipSetId(String ipSetId)
The
IPSetId for an IPSet . |
IPSet.Builder |
name(String name)
A friendly name or description of the IPSet.
|
copy
applyMutation, build
IPSet.Builder ipSetId(String ipSetId)
The IPSetId
for an IPSet
. You use IPSetId
to get information about an
IPSet
(see GetIPSet), update an IPSet
(see UpdateIPSet), insert an
IPSet
into a Rule
or delete one from a Rule
(see UpdateRule),
and delete an IPSet
from AWS WAF (see DeleteIPSet).
IPSetId
is returned by CreateIPSet and by ListIPSets.
ipSetId
- The IPSetId
for an IPSet
. You use IPSetId
to get information
about an IPSet
(see GetIPSet), update an IPSet
(see
UpdateIPSet), insert an IPSet
into a Rule
or delete one from a
Rule
(see UpdateRule), and delete an IPSet
from AWS WAF (see
DeleteIPSet).
IPSetId
is returned by CreateIPSet and by ListIPSets.
IPSet.Builder name(String name)
A friendly name or description of the IPSet. You can't change the name of an IPSet
after
you create it.
name
- A friendly name or description of the IPSet. You can't change the name of an IPSet
after you create it.IPSet.Builder ipSetDescriptors(Collection<IPSetDescriptor> ipSetDescriptors)
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that
web requests originate from. If the WebACL
is associated with a CloudFront distribution and the
viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field
in the CloudFront access logs.
ipSetDescriptors
- The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR
notation) that web requests originate from. If the WebACL
is associated with a CloudFront
distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is
the value of the c-ip field in the CloudFront access logs.IPSet.Builder ipSetDescriptors(IPSetDescriptor... ipSetDescriptors)
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that
web requests originate from. If the WebACL
is associated with a CloudFront distribution and the
viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field
in the CloudFront access logs.
ipSetDescriptors
- The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR
notation) that web requests originate from. If the WebACL
is associated with a CloudFront
distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is
the value of the c-ip field in the CloudFront access logs.IPSet.Builder ipSetDescriptors(Consumer<IPSetDescriptor.Builder>... ipSetDescriptors)
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that
web requests originate from. If the WebACL
is associated with a CloudFront distribution and the
viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field
in the CloudFront access logs.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #ipSetDescriptors(List)
.ipSetDescriptors
- a consumer that will call methods on List.Builder
#ipSetDescriptors(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.