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

com.pulumi.azurenative.databoxedge.ArcAddonArgs 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.databoxedge;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ArcAddonArgs Empty = new ArcAddonArgs();

    /**
     * The addon name.
     * 
     */
    @Import(name="addonName")
    private @Nullable Output addonName;

    /**
     * @return The addon name.
     * 
     */
    public Optional> addonName() {
        return Optional.ofNullable(this.addonName);
    }

    /**
     * The device name.
     * 
     */
    @Import(name="deviceName", required=true)
    private Output deviceName;

    /**
     * @return The device name.
     * 
     */
    public Output deviceName() {
        return this.deviceName;
    }

    /**
     * Addon type.
     * Expected value is 'ArcForKubernetes'.
     * 
     */
    @Import(name="kind", required=true)
    private Output kind;

    /**
     * @return Addon type.
     * Expected value is 'ArcForKubernetes'.
     * 
     */
    public Output kind() {
        return this.kind;
    }

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

    /**
     * @return The resource group name.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Arc resource location
     * 
     */
    @Import(name="resourceLocation", required=true)
    private Output resourceLocation;

    /**
     * @return Arc resource location
     * 
     */
    public Output resourceLocation() {
        return this.resourceLocation;
    }

    /**
     * Arc resource Name
     * 
     */
    @Import(name="resourceName", required=true)
    private Output resourceName;

    /**
     * @return Arc resource Name
     * 
     */
    public Output resourceName() {
        return this.resourceName;
    }

    /**
     * The role name.
     * 
     */
    @Import(name="roleName", required=true)
    private Output roleName;

    /**
     * @return The role name.
     * 
     */
    public Output roleName() {
        return this.roleName;
    }

    /**
     * Arc resource subscription Id
     * 
     */
    @Import(name="subscriptionId", required=true)
    private Output subscriptionId;

    /**
     * @return Arc resource subscription Id
     * 
     */
    public Output subscriptionId() {
        return this.subscriptionId;
    }

    private ArcAddonArgs() {}

    private ArcAddonArgs(ArcAddonArgs $) {
        this.addonName = $.addonName;
        this.deviceName = $.deviceName;
        this.kind = $.kind;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceLocation = $.resourceLocation;
        this.resourceName = $.resourceName;
        this.roleName = $.roleName;
        this.subscriptionId = $.subscriptionId;
    }

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

    public static final class Builder {
        private ArcAddonArgs $;

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

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

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

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

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

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

        /**
         * @param kind Addon type.
         * Expected value is 'ArcForKubernetes'.
         * 
         * @return builder
         * 
         */
        public Builder kind(Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind Addon type.
         * Expected value is 'ArcForKubernetes'.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

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

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

        /**
         * @param resourceLocation Arc resource location
         * 
         * @return builder
         * 
         */
        public Builder resourceLocation(Output resourceLocation) {
            $.resourceLocation = resourceLocation;
            return this;
        }

        /**
         * @param resourceLocation Arc resource location
         * 
         * @return builder
         * 
         */
        public Builder resourceLocation(String resourceLocation) {
            return resourceLocation(Output.of(resourceLocation));
        }

        /**
         * @param resourceName Arc resource Name
         * 
         * @return builder
         * 
         */
        public Builder resourceName(Output resourceName) {
            $.resourceName = resourceName;
            return this;
        }

        /**
         * @param resourceName Arc resource Name
         * 
         * @return builder
         * 
         */
        public Builder resourceName(String resourceName) {
            return resourceName(Output.of(resourceName));
        }

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

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

        /**
         * @param subscriptionId Arc resource subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(Output subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        /**
         * @param subscriptionId Arc resource subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(String subscriptionId) {
            return subscriptionId(Output.of(subscriptionId));
        }

        public ArcAddonArgs build() {
            if ($.deviceName == null) {
                throw new MissingRequiredPropertyException("ArcAddonArgs", "deviceName");
            }
            $.kind = Codegen.stringProp("kind").output().arg($.kind).require();
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ArcAddonArgs", "resourceGroupName");
            }
            if ($.resourceLocation == null) {
                throw new MissingRequiredPropertyException("ArcAddonArgs", "resourceLocation");
            }
            if ($.resourceName == null) {
                throw new MissingRequiredPropertyException("ArcAddonArgs", "resourceName");
            }
            if ($.roleName == null) {
                throw new MissingRequiredPropertyException("ArcAddonArgs", "roleName");
            }
            if ($.subscriptionId == null) {
                throw new MissingRequiredPropertyException("ArcAddonArgs", "subscriptionId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy