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

com.pulumi.azurenative.devhub.inputs.IacTemplatePropertiesArgs 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.devhub.inputs;

import com.pulumi.azurenative.devhub.enums.QuickStartTemplateType;
import com.pulumi.azurenative.devhub.inputs.IacTemplateDetailsArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties of a IacTemplate.
 * 
 */
public final class IacTemplatePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final IacTemplatePropertiesArgs Empty = new IacTemplatePropertiesArgs();

    /**
     * the sample instance name of the template
     * 
     */
    @Import(name="instanceName")
    private @Nullable Output instanceName;

    /**
     * @return the sample instance name of the template
     * 
     */
    public Optional> instanceName() {
        return Optional.ofNullable(this.instanceName);
    }

    /**
     * the source stage of the template
     * 
     */
    @Import(name="instanceStage")
    private @Nullable Output instanceStage;

    /**
     * @return the source stage of the template
     * 
     */
    public Optional> instanceStage() {
        return Optional.ofNullable(this.instanceStage);
    }

    /**
     * Determines the authorization status of requests.
     * 
     */
    @Import(name="quickStartTemplateType")
    private @Nullable Output> quickStartTemplateType;

    /**
     * @return Determines the authorization status of requests.
     * 
     */
    public Optional>> quickStartTemplateType() {
        return Optional.ofNullable(this.quickStartTemplateType);
    }

    /**
     * the source store of the template
     * 
     */
    @Import(name="sourceResourceId")
    private @Nullable Output sourceResourceId;

    /**
     * @return the source store of the template
     * 
     */
    public Optional> sourceResourceId() {
        return Optional.ofNullable(this.sourceResourceId);
    }

    @Import(name="templateDetails")
    private @Nullable Output> templateDetails;

    public Optional>> templateDetails() {
        return Optional.ofNullable(this.templateDetails);
    }

    /**
     * Template Name
     * 
     */
    @Import(name="templateName")
    private @Nullable Output templateName;

    /**
     * @return Template Name
     * 
     */
    public Optional> templateName() {
        return Optional.ofNullable(this.templateName);
    }

    private IacTemplatePropertiesArgs() {}

    private IacTemplatePropertiesArgs(IacTemplatePropertiesArgs $) {
        this.instanceName = $.instanceName;
        this.instanceStage = $.instanceStage;
        this.quickStartTemplateType = $.quickStartTemplateType;
        this.sourceResourceId = $.sourceResourceId;
        this.templateDetails = $.templateDetails;
        this.templateName = $.templateName;
    }

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

    public static final class Builder {
        private IacTemplatePropertiesArgs $;

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

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

        /**
         * @param instanceName the sample instance name of the template
         * 
         * @return builder
         * 
         */
        public Builder instanceName(@Nullable Output instanceName) {
            $.instanceName = instanceName;
            return this;
        }

        /**
         * @param instanceName the sample instance name of the template
         * 
         * @return builder
         * 
         */
        public Builder instanceName(String instanceName) {
            return instanceName(Output.of(instanceName));
        }

        /**
         * @param instanceStage the source stage of the template
         * 
         * @return builder
         * 
         */
        public Builder instanceStage(@Nullable Output instanceStage) {
            $.instanceStage = instanceStage;
            return this;
        }

        /**
         * @param instanceStage the source stage of the template
         * 
         * @return builder
         * 
         */
        public Builder instanceStage(String instanceStage) {
            return instanceStage(Output.of(instanceStage));
        }

        /**
         * @param quickStartTemplateType Determines the authorization status of requests.
         * 
         * @return builder
         * 
         */
        public Builder quickStartTemplateType(@Nullable Output> quickStartTemplateType) {
            $.quickStartTemplateType = quickStartTemplateType;
            return this;
        }

        /**
         * @param quickStartTemplateType Determines the authorization status of requests.
         * 
         * @return builder
         * 
         */
        public Builder quickStartTemplateType(Either quickStartTemplateType) {
            return quickStartTemplateType(Output.of(quickStartTemplateType));
        }

        /**
         * @param quickStartTemplateType Determines the authorization status of requests.
         * 
         * @return builder
         * 
         */
        public Builder quickStartTemplateType(String quickStartTemplateType) {
            return quickStartTemplateType(Either.ofLeft(quickStartTemplateType));
        }

        /**
         * @param quickStartTemplateType Determines the authorization status of requests.
         * 
         * @return builder
         * 
         */
        public Builder quickStartTemplateType(QuickStartTemplateType quickStartTemplateType) {
            return quickStartTemplateType(Either.ofRight(quickStartTemplateType));
        }

        /**
         * @param sourceResourceId the source store of the template
         * 
         * @return builder
         * 
         */
        public Builder sourceResourceId(@Nullable Output sourceResourceId) {
            $.sourceResourceId = sourceResourceId;
            return this;
        }

        /**
         * @param sourceResourceId the source store of the template
         * 
         * @return builder
         * 
         */
        public Builder sourceResourceId(String sourceResourceId) {
            return sourceResourceId(Output.of(sourceResourceId));
        }

        public Builder templateDetails(@Nullable Output> templateDetails) {
            $.templateDetails = templateDetails;
            return this;
        }

        public Builder templateDetails(List templateDetails) {
            return templateDetails(Output.of(templateDetails));
        }

        public Builder templateDetails(IacTemplateDetailsArgs... templateDetails) {
            return templateDetails(List.of(templateDetails));
        }

        /**
         * @param templateName Template Name
         * 
         * @return builder
         * 
         */
        public Builder templateName(@Nullable Output templateName) {
            $.templateName = templateName;
            return this;
        }

        /**
         * @param templateName Template Name
         * 
         * @return builder
         * 
         */
        public Builder templateName(String templateName) {
            return templateName(Output.of(templateName));
        }

        public IacTemplatePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy