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

com.pulumi.azurenative.blueprint.inputs.ResourceGroupDefinitionArgs 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.blueprint.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Represents an Azure resource group in a blueprint definition.
 * 
 */
public final class ResourceGroupDefinitionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ResourceGroupDefinitionArgs Empty = new ResourceGroupDefinitionArgs();

    /**
     * Artifacts which need to be deployed before this resource group.
     * 
     */
    @Import(name="dependsOn")
    private @Nullable Output> dependsOn;

    /**
     * @return Artifacts which need to be deployed before this resource group.
     * 
     */
    public Optional>> dependsOn() {
        return Optional.ofNullable(this.dependsOn);
    }

    /**
     * Description of this parameter/resourceGroup.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of this parameter/resourceGroup.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * DisplayName of this parameter/resourceGroup.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return DisplayName of this parameter/resourceGroup.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location.
     * 
     */
    @Import(name="strongType")
    private @Nullable Output strongType;

    /**
     * @return StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location.
     * 
     */
    public Optional> strongType() {
        return Optional.ofNullable(this.strongType);
    }

    /**
     * Tags to be assigned to this resource group.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Tags to be assigned to this resource group.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ResourceGroupDefinitionArgs() {}

    private ResourceGroupDefinitionArgs(ResourceGroupDefinitionArgs $) {
        this.dependsOn = $.dependsOn;
        this.description = $.description;
        this.displayName = $.displayName;
        this.location = $.location;
        this.name = $.name;
        this.strongType = $.strongType;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ResourceGroupDefinitionArgs $;

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

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

        /**
         * @param dependsOn Artifacts which need to be deployed before this resource group.
         * 
         * @return builder
         * 
         */
        public Builder dependsOn(@Nullable Output> dependsOn) {
            $.dependsOn = dependsOn;
            return this;
        }

        /**
         * @param dependsOn Artifacts which need to be deployed before this resource group.
         * 
         * @return builder
         * 
         */
        public Builder dependsOn(List dependsOn) {
            return dependsOn(Output.of(dependsOn));
        }

        /**
         * @param dependsOn Artifacts which need to be deployed before this resource group.
         * 
         * @return builder
         * 
         */
        public Builder dependsOn(String... dependsOn) {
            return dependsOn(List.of(dependsOn));
        }

        /**
         * @param description Description of this parameter/resourceGroup.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of this parameter/resourceGroup.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName DisplayName of this parameter/resourceGroup.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName DisplayName of this parameter/resourceGroup.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param location Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param strongType StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location.
         * 
         * @return builder
         * 
         */
        public Builder strongType(@Nullable Output strongType) {
            $.strongType = strongType;
            return this;
        }

        /**
         * @param strongType StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location.
         * 
         * @return builder
         * 
         */
        public Builder strongType(String strongType) {
            return strongType(Output.of(strongType));
        }

        /**
         * @param tags Tags to be assigned to this resource group.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Tags to be assigned to this resource group.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public ResourceGroupDefinitionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy