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

com.pulumi.azurenative.storsimple.ManagerArgs 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.storsimple;

import com.pulumi.azurenative.storsimple.inputs.ManagerIntrinsicSettingsArgs;
import com.pulumi.azurenative.storsimple.inputs.ManagerSkuArgs;
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 ManagerArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagerArgs Empty = new ManagerArgs();

    /**
     * Represents the type of StorSimple Manager.
     * 
     */
    @Import(name="cisIntrinsicSettings")
    private @Nullable Output cisIntrinsicSettings;

    /**
     * @return Represents the type of StorSimple Manager.
     * 
     */
    public Optional> cisIntrinsicSettings() {
        return Optional.ofNullable(this.cisIntrinsicSettings);
    }

    /**
     * The geo location of the resource.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo location of the resource.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The manager name
     * 
     */
    @Import(name="managerName")
    private @Nullable Output managerName;

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

    /**
     * Specifies the state of the resource as it is getting provisioned. Value of "Succeeded" means the Manager was successfully created.
     * 
     */
    @Import(name="provisioningState")
    private @Nullable Output provisioningState;

    /**
     * @return Specifies the state of the resource as it is getting provisioned. Value of "Succeeded" means the Manager was successfully created.
     * 
     */
    public Optional> provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }

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

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

    /**
     * Specifies the Sku.
     * 
     */
    @Import(name="sku")
    private @Nullable Output sku;

    /**
     * @return Specifies the Sku.
     * 
     */
    public Optional> sku() {
        return Optional.ofNullable(this.sku);
    }

    /**
     * The tags attached to the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return The tags attached to the resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ManagerArgs() {}

    private ManagerArgs(ManagerArgs $) {
        this.cisIntrinsicSettings = $.cisIntrinsicSettings;
        this.location = $.location;
        this.managerName = $.managerName;
        this.provisioningState = $.provisioningState;
        this.resourceGroupName = $.resourceGroupName;
        this.sku = $.sku;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ManagerArgs $;

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

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

        /**
         * @param cisIntrinsicSettings Represents the type of StorSimple Manager.
         * 
         * @return builder
         * 
         */
        public Builder cisIntrinsicSettings(@Nullable Output cisIntrinsicSettings) {
            $.cisIntrinsicSettings = cisIntrinsicSettings;
            return this;
        }

        /**
         * @param cisIntrinsicSettings Represents the type of StorSimple Manager.
         * 
         * @return builder
         * 
         */
        public Builder cisIntrinsicSettings(ManagerIntrinsicSettingsArgs cisIntrinsicSettings) {
            return cisIntrinsicSettings(Output.of(cisIntrinsicSettings));
        }

        /**
         * @param location The geo location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo location of the resource.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

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

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

        /**
         * @param provisioningState Specifies the state of the resource as it is getting provisioned. Value of "Succeeded" means the Manager was successfully created.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(@Nullable Output provisioningState) {
            $.provisioningState = provisioningState;
            return this;
        }

        /**
         * @param provisioningState Specifies the state of the resource as it is getting provisioned. Value of "Succeeded" means the Manager was successfully created.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(String provisioningState) {
            return provisioningState(Output.of(provisioningState));
        }

        /**
         * @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 sku Specifies the Sku.
         * 
         * @return builder
         * 
         */
        public Builder sku(@Nullable Output sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku Specifies the Sku.
         * 
         * @return builder
         * 
         */
        public Builder sku(ManagerSkuArgs sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param tags The tags attached to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags The tags attached to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public ManagerArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ManagerArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy