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

com.pulumi.azurenative.devhub.outputs.IacTemplatePropertiesResponse 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.azurenative.devhub.outputs;

import com.pulumi.azurenative.devhub.outputs.IacTemplateDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class IacTemplatePropertiesResponse {
    /**
     * @return the sample instance name of the template
     * 
     */
    private @Nullable String instanceName;
    /**
     * @return the source stage of the template
     * 
     */
    private @Nullable String instanceStage;
    /**
     * @return Determines the authorization status of requests.
     * 
     */
    private @Nullable String quickStartTemplateType;
    /**
     * @return the source store of the template
     * 
     */
    private @Nullable String sourceResourceId;
    private @Nullable List templateDetails;
    /**
     * @return Template Name
     * 
     */
    private @Nullable String templateName;

    private IacTemplatePropertiesResponse() {}
    /**
     * @return the sample instance name of the template
     * 
     */
    public Optional instanceName() {
        return Optional.ofNullable(this.instanceName);
    }
    /**
     * @return the source stage of the template
     * 
     */
    public Optional instanceStage() {
        return Optional.ofNullable(this.instanceStage);
    }
    /**
     * @return Determines the authorization status of requests.
     * 
     */
    public Optional quickStartTemplateType() {
        return Optional.ofNullable(this.quickStartTemplateType);
    }
    /**
     * @return the source store of the template
     * 
     */
    public Optional sourceResourceId() {
        return Optional.ofNullable(this.sourceResourceId);
    }
    public List templateDetails() {
        return this.templateDetails == null ? List.of() : this.templateDetails;
    }
    /**
     * @return Template Name
     * 
     */
    public Optional templateName() {
        return Optional.ofNullable(this.templateName);
    }

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

    public static Builder builder(IacTemplatePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String instanceName;
        private @Nullable String instanceStage;
        private @Nullable String quickStartTemplateType;
        private @Nullable String sourceResourceId;
        private @Nullable List templateDetails;
        private @Nullable String templateName;
        public Builder() {}
        public Builder(IacTemplatePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.instanceName = defaults.instanceName;
    	      this.instanceStage = defaults.instanceStage;
    	      this.quickStartTemplateType = defaults.quickStartTemplateType;
    	      this.sourceResourceId = defaults.sourceResourceId;
    	      this.templateDetails = defaults.templateDetails;
    	      this.templateName = defaults.templateName;
        }

        @CustomType.Setter
        public Builder instanceName(@Nullable String instanceName) {

            this.instanceName = instanceName;
            return this;
        }
        @CustomType.Setter
        public Builder instanceStage(@Nullable String instanceStage) {

            this.instanceStage = instanceStage;
            return this;
        }
        @CustomType.Setter
        public Builder quickStartTemplateType(@Nullable String quickStartTemplateType) {

            this.quickStartTemplateType = quickStartTemplateType;
            return this;
        }
        @CustomType.Setter
        public Builder sourceResourceId(@Nullable String sourceResourceId) {

            this.sourceResourceId = sourceResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder templateDetails(@Nullable List templateDetails) {

            this.templateDetails = templateDetails;
            return this;
        }
        public Builder templateDetails(IacTemplateDetailsResponse... templateDetails) {
            return templateDetails(List.of(templateDetails));
        }
        @CustomType.Setter
        public Builder templateName(@Nullable String templateName) {

            this.templateName = templateName;
            return this;
        }
        public IacTemplatePropertiesResponse build() {
            final var _resultValue = new IacTemplatePropertiesResponse();
            _resultValue.instanceName = instanceName;
            _resultValue.instanceStage = instanceStage;
            _resultValue.quickStartTemplateType = quickStartTemplateType;
            _resultValue.sourceResourceId = sourceResourceId;
            _resultValue.templateDetails = templateDetails;
            _resultValue.templateName = templateName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy