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

com.pulumi.alicloud.scdn.inputs.DomainConfigFunctionArgArgs Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.scdn.inputs;

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


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

    public static final DomainConfigFunctionArgArgs Empty = new DomainConfigFunctionArgArgs();

    /**
     * The name of arg.
     * 
     */
    @Import(name="argName", required=true)
    private Output argName;

    /**
     * @return The name of arg.
     * 
     */
    public Output argName() {
        return this.argName;
    }

    /**
     * The value of arg.
     * 
     */
    @Import(name="argValue", required=true)
    private Output argValue;

    /**
     * @return The value of arg.
     * 
     */
    public Output argValue() {
        return this.argValue;
    }

    private DomainConfigFunctionArgArgs() {}

    private DomainConfigFunctionArgArgs(DomainConfigFunctionArgArgs $) {
        this.argName = $.argName;
        this.argValue = $.argValue;
    }

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

    public static final class Builder {
        private DomainConfigFunctionArgArgs $;

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

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

        /**
         * @param argName The name of arg.
         * 
         * @return builder
         * 
         */
        public Builder argName(Output argName) {
            $.argName = argName;
            return this;
        }

        /**
         * @param argName The name of arg.
         * 
         * @return builder
         * 
         */
        public Builder argName(String argName) {
            return argName(Output.of(argName));
        }

        /**
         * @param argValue The value of arg.
         * 
         * @return builder
         * 
         */
        public Builder argValue(Output argValue) {
            $.argValue = argValue;
            return this;
        }

        /**
         * @param argValue The value of arg.
         * 
         * @return builder
         * 
         */
        public Builder argValue(String argValue) {
            return argValue(Output.of(argValue));
        }

        public DomainConfigFunctionArgArgs build() {
            if ($.argName == null) {
                throw new MissingRequiredPropertyException("DomainConfigFunctionArgArgs", "argName");
            }
            if ($.argValue == null) {
                throw new MissingRequiredPropertyException("DomainConfigFunctionArgArgs", "argValue");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy