Class IpSetState.Builder

  • Enclosing class:
    IpSetState

    public static final class IpSetState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(IpSetState defaults)
    • Method Detail

      • addresses

        public IpSetState.Builder addresses​(@Nullable
                                            com.pulumi.core.Output<java.util.List<java.lang.String>> addresses)
        Parameters:
        addresses - Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for `/0`.
        Returns:
        builder
      • addresses

        public IpSetState.Builder addresses​(java.util.List<java.lang.String> addresses)
        Parameters:
        addresses - Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for `/0`.
        Returns:
        builder
      • addresses

        public IpSetState.Builder addresses​(java.lang.String... addresses)
        Parameters:
        addresses - Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for `/0`.
        Returns:
        builder
      • arn

        public IpSetState.Builder arn​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the IP set.
        Returns:
        builder
      • arn

        public IpSetState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the IP set.
        Returns:
        builder
      • description

        public IpSetState.Builder description​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A friendly description of the IP set.
        Returns:
        builder
      • description

        public IpSetState.Builder description​(java.lang.String description)
        Parameters:
        description - A friendly description of the IP set.
        Returns:
        builder
      • ipAddressVersion

        public IpSetState.Builder ipAddressVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> ipAddressVersion)
        Parameters:
        ipAddressVersion - Specify IPV4 or IPV6. Valid values are `IPV4` or `IPV6`.
        Returns:
        builder
      • ipAddressVersion

        public IpSetState.Builder ipAddressVersion​(java.lang.String ipAddressVersion)
        Parameters:
        ipAddressVersion - Specify IPV4 or IPV6. Valid values are `IPV4` or `IPV6`.
        Returns:
        builder
      • lockToken

        public IpSetState.Builder lockToken​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> lockToken)
      • name

        public IpSetState.Builder name​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A friendly name of the IP set. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
        Returns:
        builder
      • name

        public IpSetState.Builder name​(java.lang.String name)
        Parameters:
        name - A friendly name of the IP set. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
        Returns:
        builder
      • namePrefix

        public IpSetState.Builder namePrefix​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public IpSetState.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • region

        public IpSetState.Builder region​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public IpSetState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • scope

        public IpSetState.Builder scope​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> scope)
        Parameters:
        scope - Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the Region US East (N. Virginia).
        Returns:
        builder
      • scope

        public IpSetState.Builder scope​(java.lang.String scope)
        Parameters:
        scope - Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the Region US East (N. Virginia).
        Returns:
        builder
      • tags

        public IpSetState.Builder tags​(@Nullable
                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - An array of key:value pairs to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public IpSetState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - An array of key:value pairs to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public IpSetState.Builder tagsAll​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public IpSetState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder