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

com.pulumi.azurenative.labservices.GalleryImageArgs 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.labservices;

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


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

    public static final GalleryImageArgs Empty = new GalleryImageArgs();

    /**
     * The name of the gallery Image.
     * 
     */
    @Import(name="galleryImageName")
    private @Nullable Output galleryImageName;

    /**
     * @return The name of the gallery Image.
     * 
     */
    public Optional> galleryImageName() {
        return Optional.ofNullable(this.galleryImageName);
    }

    /**
     * Indicates whether this gallery image is enabled.
     * 
     */
    @Import(name="isEnabled")
    private @Nullable Output isEnabled;

    /**
     * @return Indicates whether this gallery image is enabled.
     * 
     */
    public Optional> isEnabled() {
        return Optional.ofNullable(this.isEnabled);
    }

    /**
     * Indicates whether this gallery has been overridden for this lab account
     * 
     */
    @Import(name="isOverride")
    private @Nullable Output isOverride;

    /**
     * @return Indicates whether this gallery has been overridden for this lab account
     * 
     */
    public Optional> isOverride() {
        return Optional.ofNullable(this.isOverride);
    }

    /**
     * Indicates if the plan has been authorized for programmatic deployment.
     * 
     */
    @Import(name="isPlanAuthorized")
    private @Nullable Output isPlanAuthorized;

    /**
     * @return Indicates if the plan has been authorized for programmatic deployment.
     * 
     */
    public Optional> isPlanAuthorized() {
        return Optional.ofNullable(this.isPlanAuthorized);
    }

    /**
     * The name of the lab Account.
     * 
     */
    @Import(name="labAccountName", required=true)
    private Output labAccountName;

    /**
     * @return The name of the lab Account.
     * 
     */
    public Output labAccountName() {
        return this.labAccountName;
    }

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

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

    /**
     * The provisioning status of the resource.
     * 
     */
    @Import(name="provisioningState")
    private @Nullable Output provisioningState;

    /**
     * @return The provisioning status of the resource.
     * 
     */
    public Optional> provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }

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

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

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

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

    /**
     * The unique immutable identifier of a resource (Guid).
     * 
     */
    @Import(name="uniqueIdentifier")
    private @Nullable Output uniqueIdentifier;

    /**
     * @return The unique immutable identifier of a resource (Guid).
     * 
     */
    public Optional> uniqueIdentifier() {
        return Optional.ofNullable(this.uniqueIdentifier);
    }

    private GalleryImageArgs() {}

    private GalleryImageArgs(GalleryImageArgs $) {
        this.galleryImageName = $.galleryImageName;
        this.isEnabled = $.isEnabled;
        this.isOverride = $.isOverride;
        this.isPlanAuthorized = $.isPlanAuthorized;
        this.labAccountName = $.labAccountName;
        this.location = $.location;
        this.provisioningState = $.provisioningState;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.uniqueIdentifier = $.uniqueIdentifier;
    }

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

    public static final class Builder {
        private GalleryImageArgs $;

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

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

        /**
         * @param galleryImageName The name of the gallery Image.
         * 
         * @return builder
         * 
         */
        public Builder galleryImageName(@Nullable Output galleryImageName) {
            $.galleryImageName = galleryImageName;
            return this;
        }

        /**
         * @param galleryImageName The name of the gallery Image.
         * 
         * @return builder
         * 
         */
        public Builder galleryImageName(String galleryImageName) {
            return galleryImageName(Output.of(galleryImageName));
        }

        /**
         * @param isEnabled Indicates whether this gallery image is enabled.
         * 
         * @return builder
         * 
         */
        public Builder isEnabled(@Nullable Output isEnabled) {
            $.isEnabled = isEnabled;
            return this;
        }

        /**
         * @param isEnabled Indicates whether this gallery image is enabled.
         * 
         * @return builder
         * 
         */
        public Builder isEnabled(Boolean isEnabled) {
            return isEnabled(Output.of(isEnabled));
        }

        /**
         * @param isOverride Indicates whether this gallery has been overridden for this lab account
         * 
         * @return builder
         * 
         */
        public Builder isOverride(@Nullable Output isOverride) {
            $.isOverride = isOverride;
            return this;
        }

        /**
         * @param isOverride Indicates whether this gallery has been overridden for this lab account
         * 
         * @return builder
         * 
         */
        public Builder isOverride(Boolean isOverride) {
            return isOverride(Output.of(isOverride));
        }

        /**
         * @param isPlanAuthorized Indicates if the plan has been authorized for programmatic deployment.
         * 
         * @return builder
         * 
         */
        public Builder isPlanAuthorized(@Nullable Output isPlanAuthorized) {
            $.isPlanAuthorized = isPlanAuthorized;
            return this;
        }

        /**
         * @param isPlanAuthorized Indicates if the plan has been authorized for programmatic deployment.
         * 
         * @return builder
         * 
         */
        public Builder isPlanAuthorized(Boolean isPlanAuthorized) {
            return isPlanAuthorized(Output.of(isPlanAuthorized));
        }

        /**
         * @param labAccountName The name of the lab Account.
         * 
         * @return builder
         * 
         */
        public Builder labAccountName(Output labAccountName) {
            $.labAccountName = labAccountName;
            return this;
        }

        /**
         * @param labAccountName The name of the lab Account.
         * 
         * @return builder
         * 
         */
        public Builder labAccountName(String labAccountName) {
            return labAccountName(Output.of(labAccountName));
        }

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

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

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

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

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

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

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

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

        /**
         * @param uniqueIdentifier The unique immutable identifier of a resource (Guid).
         * 
         * @return builder
         * 
         */
        public Builder uniqueIdentifier(@Nullable Output uniqueIdentifier) {
            $.uniqueIdentifier = uniqueIdentifier;
            return this;
        }

        /**
         * @param uniqueIdentifier The unique immutable identifier of a resource (Guid).
         * 
         * @return builder
         * 
         */
        public Builder uniqueIdentifier(String uniqueIdentifier) {
            return uniqueIdentifier(Output.of(uniqueIdentifier));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy