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

com.pulumi.azure.devcenter.inputs.DevCenterState Maven / Gradle / Ivy

// *** 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.azure.devcenter.inputs;

import com.pulumi.azure.devcenter.inputs.DevCenterIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DevCenterState Empty = new DevCenterState();

    /**
     * The URI of the Dev Center.
     * 
     */
    @Import(name="devCenterUri")
    private @Nullable Output devCenterUri;

    /**
     * @return The URI of the Dev Center.
     * 
     */
    public Optional> devCenterUri() {
        return Optional.ofNullable(this.devCenterUri);
    }

    /**
     * An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Dev Center.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Dev Center.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The Azure Region where the Dev Center should exist. Changing this forces a new Dev Center to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The Azure Region where the Dev Center should exist. Changing this forces a new Dev Center to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Specifies the name of this Dev Center. Changing this forces a new Dev Center to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of this Dev Center. Changing this forces a new Dev Center to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the name of the Resource Group within which this Dev Center should exist. Changing this forces a new Dev Center to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return Specifies the name of the Resource Group within which this Dev Center should exist. Changing this forces a new Dev Center to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * A mapping of tags which should be assigned to the Dev Center.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags which should be assigned to the Dev Center.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private DevCenterState() {}

    private DevCenterState(DevCenterState $) {
        this.devCenterUri = $.devCenterUri;
        this.identity = $.identity;
        this.location = $.location;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private DevCenterState $;

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

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

        /**
         * @param devCenterUri The URI of the Dev Center.
         * 
         * @return builder
         * 
         */
        public Builder devCenterUri(@Nullable Output devCenterUri) {
            $.devCenterUri = devCenterUri;
            return this;
        }

        /**
         * @param devCenterUri The URI of the Dev Center.
         * 
         * @return builder
         * 
         */
        public Builder devCenterUri(String devCenterUri) {
            return devCenterUri(Output.of(devCenterUri));
        }

        /**
         * @param identity An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Dev Center.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Dev Center.
         * 
         * @return builder
         * 
         */
        public Builder identity(DevCenterIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param location The Azure Region where the Dev Center should exist. Changing this forces a new Dev Center to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The Azure Region where the Dev Center should exist. Changing this forces a new Dev Center to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Specifies the name of this Dev Center. Changing this forces a new Dev Center to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of this Dev Center. Changing this forces a new Dev Center to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName Specifies the name of the Resource Group within which this Dev Center should exist. Changing this forces a new Dev Center to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Specifies the name of the Resource Group within which this Dev Center should exist. Changing this forces a new Dev Center to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Dev Center.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Dev Center.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public DevCenterState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy