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

com.pulumi.azurenative.agfoodplatform.ExtensionArgs 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.agfoodplatform;

import com.pulumi.azurenative.agfoodplatform.inputs.ApiPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ExtensionArgs Empty = new ExtensionArgs();

    /**
     * Additional Api Properties.
     * 
     */
    @Import(name="additionalApiProperties")
    private @Nullable Output> additionalApiProperties;

    /**
     * @return Additional Api Properties.
     * 
     */
    public Optional>> additionalApiProperties() {
        return Optional.ofNullable(this.additionalApiProperties);
    }

    /**
     * DataManagerForAgriculture resource name.
     * 
     */
    @Import(name="dataManagerForAgricultureResourceName", required=true)
    private Output dataManagerForAgricultureResourceName;

    /**
     * @return DataManagerForAgriculture resource name.
     * 
     */
    public Output dataManagerForAgricultureResourceName() {
        return this.dataManagerForAgricultureResourceName;
    }

    /**
     * Id of extension resource.
     * 
     */
    @Import(name="extensionId")
    private @Nullable Output extensionId;

    /**
     * @return Id of extension resource.
     * 
     */
    public Optional> extensionId() {
        return Optional.ofNullable(this.extensionId);
    }

    /**
     * Extension Version.
     * 
     */
    @Import(name="extensionVersion")
    private @Nullable Output extensionVersion;

    /**
     * @return Extension Version.
     * 
     */
    public Optional> extensionVersion() {
        return Optional.ofNullable(this.extensionVersion);
    }

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

    private ExtensionArgs(ExtensionArgs $) {
        this.additionalApiProperties = $.additionalApiProperties;
        this.dataManagerForAgricultureResourceName = $.dataManagerForAgricultureResourceName;
        this.extensionId = $.extensionId;
        this.extensionVersion = $.extensionVersion;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private ExtensionArgs $;

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

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

        /**
         * @param additionalApiProperties Additional Api Properties.
         * 
         * @return builder
         * 
         */
        public Builder additionalApiProperties(@Nullable Output> additionalApiProperties) {
            $.additionalApiProperties = additionalApiProperties;
            return this;
        }

        /**
         * @param additionalApiProperties Additional Api Properties.
         * 
         * @return builder
         * 
         */
        public Builder additionalApiProperties(Map additionalApiProperties) {
            return additionalApiProperties(Output.of(additionalApiProperties));
        }

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

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

        /**
         * @param extensionId Id of extension resource.
         * 
         * @return builder
         * 
         */
        public Builder extensionId(@Nullable Output extensionId) {
            $.extensionId = extensionId;
            return this;
        }

        /**
         * @param extensionId Id of extension resource.
         * 
         * @return builder
         * 
         */
        public Builder extensionId(String extensionId) {
            return extensionId(Output.of(extensionId));
        }

        /**
         * @param extensionVersion Extension Version.
         * 
         * @return builder
         * 
         */
        public Builder extensionVersion(@Nullable Output extensionVersion) {
            $.extensionVersion = extensionVersion;
            return this;
        }

        /**
         * @param extensionVersion Extension Version.
         * 
         * @return builder
         * 
         */
        public Builder extensionVersion(String extensionVersion) {
            return extensionVersion(Output.of(extensionVersion));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy