Interface IPSet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IPSet.Builder,IPSet>,SdkBuilder<IPSet.Builder,IPSet>,SdkPojo
- Enclosing class:
- IPSet
public static interface IPSet.Builder extends SdkPojo, CopyableBuilder<IPSet.Builder,IPSet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPSet.BuilderipSetDescriptors(Collection<IPSetDescriptor> ipSetDescriptors)The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.IPSet.BuilderipSetDescriptors(Consumer<IPSetDescriptor.Builder>... ipSetDescriptors)The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.IPSet.BuilderipSetDescriptors(IPSetDescriptor... ipSetDescriptors)The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.IPSet.BuilderipSetId(String ipSetId)TheIPSetIdfor anIPSet.IPSet.Buildername(String name)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 Detail
-
ipSetId
IPSet.Builder ipSetId(String ipSetId)
The
IPSetIdfor anIPSet. You useIPSetIdto get information about anIPSet(see GetIPSet), update anIPSet(see UpdateIPSet), insert anIPSetinto aRuleor delete one from aRule(see UpdateRule), and delete anIPSetfrom AWS WAF (see DeleteIPSet).IPSetIdis returned by CreateIPSet and by ListIPSets.- Parameters:
ipSetId- TheIPSetIdfor anIPSet. You useIPSetIdto get information about anIPSet(see GetIPSet), update anIPSet(see UpdateIPSet), insert anIPSetinto aRuleor delete one from aRule(see UpdateRule), and delete anIPSetfrom AWS WAF (see DeleteIPSet).IPSetIdis returned by CreateIPSet and by ListIPSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
IPSet.Builder name(String name)
A friendly name or description of the IPSet. You can't change the name of an
IPSetafter you create it.- Parameters:
name- A friendly name or description of the IPSet. You can't change the name of anIPSetafter you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSetDescriptors
IPSet.Builder ipSetDescriptors(Collection<IPSetDescriptor> ipSetDescriptors)
The IP address type (
IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from. If theWebACLis 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 (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from. If theWebACLis 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
IPSet.Builder ipSetDescriptors(IPSetDescriptor... ipSetDescriptors)
The IP address type (
IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from. If theWebACLis 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 (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from. If theWebACLis 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
IPSet.Builder ipSetDescriptors(Consumer<IPSetDescriptor.Builder>... ipSetDescriptors)
The IP address type (
This is a convenience method that creates an instance of theIPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from. If theWebACLis 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.Builderavoiding the need to create one manually viaIPSetDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ipSetDescriptors(List.) - 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:
#ipSetDescriptors(java.util.Collection)
-
-