Interface IPSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IPSet.Builder,
,IPSet> SdkBuilder<IPSet.Builder,
,IPSet> SdkPojo
- Enclosing class:
IPSet
-
Method Summary
Modifier and TypeMethodDescriptionipSetDescriptors
(Collection<IPSetDescriptor> ipSetDescriptors) The IP address type (IPV4
orIPV6
) and the IP address range (in CIDR notation) that web requests originate from.ipSetDescriptors
(Consumer<IPSetDescriptor.Builder>... ipSetDescriptors) The IP address type (IPV4
orIPV6
) and the IP address range (in CIDR notation) that web requests originate from.ipSetDescriptors
(IPSetDescriptor... ipSetDescriptors) The IP address type (IPV4
orIPV6
) and the IP address range (in CIDR notation) that web requests originate from.TheIPSetId
for anIPSet
.A friendly name or description of the IPSet.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
-
Method Details
-
ipSetId
The
IPSetId
for anIPSet
. You useIPSetId
to get information about anIPSet
(see GetIPSet), update anIPSet
(see UpdateIPSet), insert anIPSet
into aRule
or delete one from aRule
(see UpdateRule), and delete anIPSet
from AWS WAF (see DeleteIPSet).IPSetId
is returned by CreateIPSet and by ListIPSets.- Parameters:
ipSetId
- TheIPSetId
for anIPSet
. You useIPSetId
to get information about anIPSet
(see GetIPSet), update anIPSet
(see UpdateIPSet), insert anIPSet
into aRule
or delete one from aRule
(see UpdateRule), and delete anIPSet
from AWS WAF (see DeleteIPSet).IPSetId
is returned by CreateIPSet and by ListIPSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A friendly name or description of the IPSet. You can't change the name of an
IPSet
after you create it.- Parameters:
name
- A friendly name or description of the IPSet. You can't change the name of anIPSet
after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSetDescriptors
The IP address type (
IPV4
orIPV6
) and the IP address range (in CIDR notation) that web requests originate from. If theWebACL
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.- Parameters:
ipSetDescriptors
- The IP address type (IPV4
orIPV6
) and the IP address range (in CIDR notation) that web requests originate from. If theWebACL
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSetDescriptors
The IP address type (
IPV4
orIPV6
) and the IP address range (in CIDR notation) that web requests originate from. If theWebACL
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.- Parameters:
ipSetDescriptors
- The IP address type (IPV4
orIPV6
) and the IP address range (in CIDR notation) that web requests originate from. If theWebACL
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSetDescriptors
The IP address type (
This is a convenience method that creates an instance of theIPV4
orIPV6
) and the IP address range (in CIDR notation) that web requests originate from. If theWebACL
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.IPSetDescriptor.Builder
avoiding the need to create one manually viaIPSetDescriptor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipSetDescriptors(List<IPSetDescriptor>)
.- Parameters:
ipSetDescriptors
- a consumer that will call methods onIPSetDescriptor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-