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

com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs 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.60.0-alpha.1731982519
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 RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs extends com.pulumi.resources.ResourceArgs {

    public static final RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs Empty = new RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs();

    /**
     * Set of port ranges.
     * 
     */
    @Import(name="definitions", required=true)
    private Output> definitions;

    /**
     * @return Set of port ranges.
     * 
     */
    public Output> definitions() {
        return this.definitions;
    }

    private RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs() {}

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

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

    public static final class Builder {
        private RuleGroupRuleGroupRuleVariablesPortSetPortSetArgs $;

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

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

        /**
         * @param definitions Set of port ranges.
         * 
         * @return builder
         * 
         */
        public Builder definitions(Output> definitions) {
            $.definitions = definitions;
            return this;
        }

        /**
         * @param definitions Set of port ranges.
         * 
         * @return builder
         * 
         */
        public Builder definitions(List definitions) {
            return definitions(Output.of(definitions));
        }

        /**
         * @param definitions Set of port ranges.
         * 
         * @return builder
         * 
         */
        public Builder definitions(String... definitions) {
            return definitions(List.of(definitions));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy