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

com.pulumi.azurenative.cloudngfw.FqdnListGlobalRulestackArgs 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 FqdnListGlobalRulestackArgs extends com.pulumi.resources.ResourceArgs {

    public static final FqdnListGlobalRulestackArgs Empty = new FqdnListGlobalRulestackArgs();

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

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

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

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

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

    /**
     * @return fqdn list
     * 
     */
    public Output> fqdnList() {
        return this.fqdnList;
    }

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

    /**
     * @return GlobalRulestack resource name
     * 
     */
    public Output globalRulestackName() {
        return this.globalRulestackName;
    }

    /**
     * fqdn list name
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return fqdn list name
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private FqdnListGlobalRulestackArgs() {}

    private FqdnListGlobalRulestackArgs(FqdnListGlobalRulestackArgs $) {
        this.auditComment = $.auditComment;
        this.description = $.description;
        this.fqdnList = $.fqdnList;
        this.globalRulestackName = $.globalRulestackName;
        this.name = $.name;
    }

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

    public static final class Builder {
        private FqdnListGlobalRulestackArgs $;

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

        public Builder(FqdnListGlobalRulestackArgs defaults) {
            $ = new FqdnListGlobalRulestackArgs(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 fqdn object description
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

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

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

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

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

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

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

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

        /**
         * @param name fqdn list name
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public FqdnListGlobalRulestackArgs build() {
            if ($.fqdnList == null) {
                throw new MissingRequiredPropertyException("FqdnListGlobalRulestackArgs", "fqdnList");
            }
            if ($.globalRulestackName == null) {
                throw new MissingRequiredPropertyException("FqdnListGlobalRulestackArgs", "globalRulestackName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy