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 (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.ipSetDescriptors(Consumer<IPSetDescriptor.Builder>... ipSetDescriptors) The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.ipSetDescriptors(IPSetDescriptor... ipSetDescriptors) The IP address type (IPV4orIPV6) and the IP address range (in CIDR notation) that web requests originate from.TheIPSetIdfor anIPSet.A friendly name or description of the IPSet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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 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:
-