Class CfnIPSetMixinProps.Builder

java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.waf.CfnIPSetMixinProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPSetMixinProps>
Enclosing interface:
CfnIPSetMixinProps

@Stability(Stable) public static final class CfnIPSetMixinProps.Builder extends Object implements software.amazon.jsii.Builder<CfnIPSetMixinProps>
A builder for CfnIPSetMixinProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • ipSetDescriptors

      @Stability(Stable) public CfnIPSetMixinProps.Builder ipSetDescriptors(IResolvable ipSetDescriptors)
      Parameters:
      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 an Amazon 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:
      this
    • ipSetDescriptors

      @Stability(Stable) public CfnIPSetMixinProps.Builder ipSetDescriptors(List<? extends Object> ipSetDescriptors)
      Parameters:
      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 an Amazon 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:
      this
    • name

      @Stability(Stable) public CfnIPSetMixinProps.Builder name(String name)
      Parameters:
      name - The name of the IPSet . You can't change the name of an IPSet after you create it.
      Returns:
      this
    • build

      @Stability(Stable) public CfnIPSetMixinProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnIPSetMixinProps>
      Returns:
      a new instance of CfnIPSetMixinProps
      Throws:
      NullPointerException - if any required attribute was not provided