All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.networkfirewall.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


public final class RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs extends com.pulumi.resources.ResourceArgs {

    public static final RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs Empty = new RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs();

    /**
     * Set of IP addresses and address ranges, in CIDR notation.
     * 
     */
    @Import(name="definitions", required=true)
    private Output> definitions;

    /**
     * @return Set of IP addresses and address ranges, in CIDR notation.
     * 
     */
    public Output> definitions() {
        return this.definitions;
    }

    private RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs() {}

    private RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs(RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs $) {
        this.definitions = $.definitions;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs $;

        public Builder() {
            $ = new RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs();
        }

        public Builder(RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs defaults) {
            $ = new RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param definitions Set of IP addresses and address ranges, in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder definitions(Output> definitions) {
            $.definitions = definitions;
            return this;
        }

        /**
         * @param definitions Set of IP addresses and address ranges, in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder definitions(List definitions) {
            return definitions(Output.of(definitions));
        }

        /**
         * @param definitions Set of IP addresses and address ranges, in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder definitions(String... definitions) {
            return definitions(List.of(definitions));
        }

        public RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs build() {
            if ($.definitions == null) {
                throw new MissingRequiredPropertyException("RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs", "definitions");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy