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

com.pulumi.alicloud.ros.outputs.GetTemplateScratchesScratch Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.ros.outputs;

import com.pulumi.alicloud.ros.outputs.GetTemplateScratchesScratchPreferenceParameter;
import com.pulumi.alicloud.ros.outputs.GetTemplateScratchesScratchSourceResource;
import com.pulumi.alicloud.ros.outputs.GetTemplateScratchesScratchSourceResourceGroup;
import com.pulumi.alicloud.ros.outputs.GetTemplateScratchesScratchSourceTag;
import com.pulumi.alicloud.ros.outputs.GetTemplateScratchesScratchStack;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetTemplateScratchesScratch {
    /**
     * @return The creation time of the resource.
     * 
     */
    private String createTime;
    /**
     * @return The description of the Template Scratch.
     * 
     */
    private String description;
    /**
     * @return The ID of the Template Scratch.
     * 
     */
    private String id;
    /**
     * @return The Logical ID generation strategy of the Template Scratch.
     * 
     */
    private String logicalIdStrategy;
    /**
     * @return Priority parameter.
     * 
     */
    private List preferenceParameters;
    /**
     * @return Source resource grouping.
     * 
     */
    private List sourceResourceGroups;
    /**
     * @return Source resource.
     * 
     */
    private List sourceResources;
    /**
     * @return The Source label list.
     * 
     */
    private List sourceTags;
    /**
     * @return A list of resource stacks associated with the resource scene.
     * 
     */
    private List stacks;
    /**
     * @return The status of the resource.
     * 
     */
    private String status;
    /**
     * @return The ID of the Template Scratch.
     * 
     */
    private String templateScratchId;
    /**
     * @return The type of the Template Scratch.
     * 
     */
    private String templateScratchType;

    private GetTemplateScratchesScratch() {}
    /**
     * @return The creation time of the resource.
     * 
     */
    public String createTime() {
        return this.createTime;
    }
    /**
     * @return The description of the Template Scratch.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The ID of the Template Scratch.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The Logical ID generation strategy of the Template Scratch.
     * 
     */
    public String logicalIdStrategy() {
        return this.logicalIdStrategy;
    }
    /**
     * @return Priority parameter.
     * 
     */
    public List preferenceParameters() {
        return this.preferenceParameters;
    }
    /**
     * @return Source resource grouping.
     * 
     */
    public List sourceResourceGroups() {
        return this.sourceResourceGroups;
    }
    /**
     * @return Source resource.
     * 
     */
    public List sourceResources() {
        return this.sourceResources;
    }
    /**
     * @return The Source label list.
     * 
     */
    public List sourceTags() {
        return this.sourceTags;
    }
    /**
     * @return A list of resource stacks associated with the resource scene.
     * 
     */
    public List stacks() {
        return this.stacks;
    }
    /**
     * @return The status of the resource.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return The ID of the Template Scratch.
     * 
     */
    public String templateScratchId() {
        return this.templateScratchId;
    }
    /**
     * @return The type of the Template Scratch.
     * 
     */
    public String templateScratchType() {
        return this.templateScratchType;
    }

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

    public static Builder builder(GetTemplateScratchesScratch defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String createTime;
        private String description;
        private String id;
        private String logicalIdStrategy;
        private List preferenceParameters;
        private List sourceResourceGroups;
        private List sourceResources;
        private List sourceTags;
        private List stacks;
        private String status;
        private String templateScratchId;
        private String templateScratchType;
        public Builder() {}
        public Builder(GetTemplateScratchesScratch defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.createTime = defaults.createTime;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.logicalIdStrategy = defaults.logicalIdStrategy;
    	      this.preferenceParameters = defaults.preferenceParameters;
    	      this.sourceResourceGroups = defaults.sourceResourceGroups;
    	      this.sourceResources = defaults.sourceResources;
    	      this.sourceTags = defaults.sourceTags;
    	      this.stacks = defaults.stacks;
    	      this.status = defaults.status;
    	      this.templateScratchId = defaults.templateScratchId;
    	      this.templateScratchType = defaults.templateScratchType;
        }

        @CustomType.Setter
        public Builder createTime(String createTime) {
            if (createTime == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "createTime");
            }
            this.createTime = createTime;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder logicalIdStrategy(String logicalIdStrategy) {
            if (logicalIdStrategy == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "logicalIdStrategy");
            }
            this.logicalIdStrategy = logicalIdStrategy;
            return this;
        }
        @CustomType.Setter
        public Builder preferenceParameters(List preferenceParameters) {
            if (preferenceParameters == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "preferenceParameters");
            }
            this.preferenceParameters = preferenceParameters;
            return this;
        }
        public Builder preferenceParameters(GetTemplateScratchesScratchPreferenceParameter... preferenceParameters) {
            return preferenceParameters(List.of(preferenceParameters));
        }
        @CustomType.Setter
        public Builder sourceResourceGroups(List sourceResourceGroups) {
            if (sourceResourceGroups == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "sourceResourceGroups");
            }
            this.sourceResourceGroups = sourceResourceGroups;
            return this;
        }
        public Builder sourceResourceGroups(GetTemplateScratchesScratchSourceResourceGroup... sourceResourceGroups) {
            return sourceResourceGroups(List.of(sourceResourceGroups));
        }
        @CustomType.Setter
        public Builder sourceResources(List sourceResources) {
            if (sourceResources == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "sourceResources");
            }
            this.sourceResources = sourceResources;
            return this;
        }
        public Builder sourceResources(GetTemplateScratchesScratchSourceResource... sourceResources) {
            return sourceResources(List.of(sourceResources));
        }
        @CustomType.Setter
        public Builder sourceTags(List sourceTags) {
            if (sourceTags == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "sourceTags");
            }
            this.sourceTags = sourceTags;
            return this;
        }
        public Builder sourceTags(GetTemplateScratchesScratchSourceTag... sourceTags) {
            return sourceTags(List.of(sourceTags));
        }
        @CustomType.Setter
        public Builder stacks(List stacks) {
            if (stacks == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "stacks");
            }
            this.stacks = stacks;
            return this;
        }
        public Builder stacks(GetTemplateScratchesScratchStack... stacks) {
            return stacks(List.of(stacks));
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder templateScratchId(String templateScratchId) {
            if (templateScratchId == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "templateScratchId");
            }
            this.templateScratchId = templateScratchId;
            return this;
        }
        @CustomType.Setter
        public Builder templateScratchType(String templateScratchType) {
            if (templateScratchType == null) {
              throw new MissingRequiredPropertyException("GetTemplateScratchesScratch", "templateScratchType");
            }
            this.templateScratchType = templateScratchType;
            return this;
        }
        public GetTemplateScratchesScratch build() {
            final var _resultValue = new GetTemplateScratchesScratch();
            _resultValue.createTime = createTime;
            _resultValue.description = description;
            _resultValue.id = id;
            _resultValue.logicalIdStrategy = logicalIdStrategy;
            _resultValue.preferenceParameters = preferenceParameters;
            _resultValue.sourceResourceGroups = sourceResourceGroups;
            _resultValue.sourceResources = sourceResources;
            _resultValue.sourceTags = sourceTags;
            _resultValue.stacks = stacks;
            _resultValue.status = status;
            _resultValue.templateScratchId = templateScratchId;
            _resultValue.templateScratchType = templateScratchType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy