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

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

    public static final FqdnListLocalRulestackArgs Empty = new FqdnListLocalRulestackArgs();

    /**
     * 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;
    }

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

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

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

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

    /**
     * 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 FqdnListLocalRulestackArgs() {}

    private FqdnListLocalRulestackArgs(FqdnListLocalRulestackArgs $) {
        this.auditComment = $.auditComment;
        this.description = $.description;
        this.fqdnList = $.fqdnList;
        this.localRulestackName = $.localRulestackName;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private FqdnListLocalRulestackArgs $;

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

        public Builder(FqdnListLocalRulestackArgs defaults) {
            $ = new FqdnListLocalRulestackArgs(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 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 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));
        }

        /**
         * @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 FqdnListLocalRulestackArgs build() {
            if ($.fqdnList == null) {
                throw new MissingRequiredPropertyException("FqdnListLocalRulestackArgs", "fqdnList");
            }
            if ($.localRulestackName == null) {
                throw new MissingRequiredPropertyException("FqdnListLocalRulestackArgs", "localRulestackName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("FqdnListLocalRulestackArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy