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

com.pulumi.azurenative.blueprint.PublishedBlueprintArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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;

import com.pulumi.azurenative.blueprint.enums.BlueprintTargetScope;
import com.pulumi.azurenative.blueprint.inputs.ParameterDefinitionArgs;
import com.pulumi.azurenative.blueprint.inputs.ResourceGroupDefinitionArgs;
import com.pulumi.core.Either;
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 PublishedBlueprintArgs extends com.pulumi.resources.ResourceArgs {

    public static final PublishedBlueprintArgs Empty = new PublishedBlueprintArgs();

    /**
     * Name of the published blueprint definition.
     * 
     */
    @Import(name="blueprintName", required=true)
    private Output blueprintName;

    /**
     * @return Name of the published blueprint definition.
     * 
     */
    public Output blueprintName() {
        return this.blueprintName;
    }

    /**
     * Version-specific change notes.
     * 
     */
    @Import(name="changeNotes")
    private @Nullable Output changeNotes;

    /**
     * @return Version-specific change notes.
     * 
     */
    public Optional> changeNotes() {
        return Optional.ofNullable(this.changeNotes);
    }

    /**
     * Multi-line explain this resource.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Multi-line explain this resource.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * One-liner string explain this resource.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return One-liner string explain this resource.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Parameters required by this blueprint definition.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return Parameters required by this blueprint definition.
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * Resource group placeholders defined by this blueprint definition.
     * 
     */
    @Import(name="resourceGroups")
    private @Nullable Output> resourceGroups;

    /**
     * @return Resource group placeholders defined by this blueprint definition.
     * 
     */
    public Optional>> resourceGroups() {
        return Optional.ofNullable(this.resourceGroups);
    }

    /**
     * The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
     * 
     */
    @Import(name="resourceScope", required=true)
    private Output resourceScope;

    /**
     * @return The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
     * 
     */
    public Output resourceScope() {
        return this.resourceScope;
    }

    /**
     * The scope where this blueprint definition can be assigned.
     * 
     */
    @Import(name="targetScope")
    private @Nullable Output> targetScope;

    /**
     * @return The scope where this blueprint definition can be assigned.
     * 
     */
    public Optional>> targetScope() {
        return Optional.ofNullable(this.targetScope);
    }

    /**
     * Version of the published blueprint definition.
     * 
     */
    @Import(name="versionId")
    private @Nullable Output versionId;

    /**
     * @return Version of the published blueprint definition.
     * 
     */
    public Optional> versionId() {
        return Optional.ofNullable(this.versionId);
    }

    private PublishedBlueprintArgs() {}

    private PublishedBlueprintArgs(PublishedBlueprintArgs $) {
        this.blueprintName = $.blueprintName;
        this.changeNotes = $.changeNotes;
        this.description = $.description;
        this.displayName = $.displayName;
        this.parameters = $.parameters;
        this.resourceGroups = $.resourceGroups;
        this.resourceScope = $.resourceScope;
        this.targetScope = $.targetScope;
        this.versionId = $.versionId;
    }

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

    public static final class Builder {
        private PublishedBlueprintArgs $;

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

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

        /**
         * @param blueprintName Name of the published blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder blueprintName(Output blueprintName) {
            $.blueprintName = blueprintName;
            return this;
        }

        /**
         * @param blueprintName Name of the published blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder blueprintName(String blueprintName) {
            return blueprintName(Output.of(blueprintName));
        }

        /**
         * @param changeNotes Version-specific change notes.
         * 
         * @return builder
         * 
         */
        public Builder changeNotes(@Nullable Output changeNotes) {
            $.changeNotes = changeNotes;
            return this;
        }

        /**
         * @param changeNotes Version-specific change notes.
         * 
         * @return builder
         * 
         */
        public Builder changeNotes(String changeNotes) {
            return changeNotes(Output.of(changeNotes));
        }

        /**
         * @param description Multi-line explain this resource.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Multi-line explain this resource.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName One-liner string explain this resource.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName One-liner string explain this resource.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param parameters Parameters required by this blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters Parameters required by this blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder parameters(Map parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param resourceGroups Resource group placeholders defined by this blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroups(@Nullable Output> resourceGroups) {
            $.resourceGroups = resourceGroups;
            return this;
        }

        /**
         * @param resourceGroups Resource group placeholders defined by this blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroups(Map resourceGroups) {
            return resourceGroups(Output.of(resourceGroups));
        }

        /**
         * @param resourceScope The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
         * 
         * @return builder
         * 
         */
        public Builder resourceScope(Output resourceScope) {
            $.resourceScope = resourceScope;
            return this;
        }

        /**
         * @param resourceScope The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
         * 
         * @return builder
         * 
         */
        public Builder resourceScope(String resourceScope) {
            return resourceScope(Output.of(resourceScope));
        }

        /**
         * @param targetScope The scope where this blueprint definition can be assigned.
         * 
         * @return builder
         * 
         */
        public Builder targetScope(@Nullable Output> targetScope) {
            $.targetScope = targetScope;
            return this;
        }

        /**
         * @param targetScope The scope where this blueprint definition can be assigned.
         * 
         * @return builder
         * 
         */
        public Builder targetScope(Either targetScope) {
            return targetScope(Output.of(targetScope));
        }

        /**
         * @param targetScope The scope where this blueprint definition can be assigned.
         * 
         * @return builder
         * 
         */
        public Builder targetScope(String targetScope) {
            return targetScope(Either.ofLeft(targetScope));
        }

        /**
         * @param targetScope The scope where this blueprint definition can be assigned.
         * 
         * @return builder
         * 
         */
        public Builder targetScope(BlueprintTargetScope targetScope) {
            return targetScope(Either.ofRight(targetScope));
        }

        /**
         * @param versionId Version of the published blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder versionId(@Nullable Output versionId) {
            $.versionId = versionId;
            return this;
        }

        /**
         * @param versionId Version of the published blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder versionId(String versionId) {
            return versionId(Output.of(versionId));
        }

        public PublishedBlueprintArgs build() {
            if ($.blueprintName == null) {
                throw new MissingRequiredPropertyException("PublishedBlueprintArgs", "blueprintName");
            }
            if ($.resourceScope == null) {
                throw new MissingRequiredPropertyException("PublishedBlueprintArgs", "resourceScope");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy