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

com.pulumi.azurenative.cloudngfw.PrefixListLocalRulestackArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.cloudngfw;

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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PrefixListLocalRulestackArgs Empty = new PrefixListLocalRulestackArgs();

    /**
     * comment for this object
     * 
     */
    @Import(name="auditComment")
    private @Nullable Output auditComment;

    /**
     * @return comment for this object
     * 
     */
    public Optional> auditComment() {
        return Optional.ofNullable(this.auditComment);
    }

    /**
     * prefix description
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return prefix description
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * LocalRulestack resource name
     * 
     */
    @Import(name="localRulestackName", required=true)
    private Output localRulestackName;

    /**
     * @return LocalRulestack resource name
     * 
     */
    public Output localRulestackName() {
        return this.localRulestackName;
    }

    /**
     * Local Rule priority
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Local Rule priority
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * prefix list
     * 
     */
    @Import(name="prefixList", required=true)
    private Output> prefixList;

    /**
     * @return prefix list
     * 
     */
    public Output> prefixList() {
        return this.prefixList;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private PrefixListLocalRulestackArgs() {}

    private PrefixListLocalRulestackArgs(PrefixListLocalRulestackArgs $) {
        this.auditComment = $.auditComment;
        this.description = $.description;
        this.localRulestackName = $.localRulestackName;
        this.name = $.name;
        this.prefixList = $.prefixList;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private PrefixListLocalRulestackArgs $;

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

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

        /**
         * @param auditComment comment for this object
         * 
         * @return builder
         * 
         */
        public Builder auditComment(@Nullable Output auditComment) {
            $.auditComment = auditComment;
            return this;
        }

        /**
         * @param auditComment comment for this object
         * 
         * @return builder
         * 
         */
        public Builder auditComment(String auditComment) {
            return auditComment(Output.of(auditComment));
        }

        /**
         * @param description prefix description
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description prefix description
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param localRulestackName LocalRulestack resource name
         * 
         * @return builder
         * 
         */
        public Builder localRulestackName(Output localRulestackName) {
            $.localRulestackName = localRulestackName;
            return this;
        }

        /**
         * @param localRulestackName LocalRulestack resource name
         * 
         * @return builder
         * 
         */
        public Builder localRulestackName(String localRulestackName) {
            return localRulestackName(Output.of(localRulestackName));
        }

        /**
         * @param name Local Rule priority
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Local Rule priority
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param prefixList prefix list
         * 
         * @return builder
         * 
         */
        public Builder prefixList(Output> prefixList) {
            $.prefixList = prefixList;
            return this;
        }

        /**
         * @param prefixList prefix list
         * 
         * @return builder
         * 
         */
        public Builder prefixList(List prefixList) {
            return prefixList(Output.of(prefixList));
        }

        /**
         * @param prefixList prefix list
         * 
         * @return builder
         * 
         */
        public Builder prefixList(String... prefixList) {
            return prefixList(List.of(prefixList));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public PrefixListLocalRulestackArgs build() {
            if ($.localRulestackName == null) {
                throw new MissingRequiredPropertyException("PrefixListLocalRulestackArgs", "localRulestackName");
            }
            if ($.prefixList == null) {
                throw new MissingRequiredPropertyException("PrefixListLocalRulestackArgs", "prefixList");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("PrefixListLocalRulestackArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy