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

com.pulumi.alicloud.maxcompute.outputs.GetProjectsProject 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.maxcompute.outputs;

import com.pulumi.alicloud.maxcompute.outputs.GetProjectsProjectIpWhiteList;
import com.pulumi.alicloud.maxcompute.outputs.GetProjectsProjectProperties;
import com.pulumi.alicloud.maxcompute.outputs.GetProjectsProjectSecurityProperties;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetProjectsProject {
    /**
     * @return Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
     * 
     */
    private String comment;
    /**
     * @return View the current storage size of the Project. The storage size is the same as the measurement size, that is, the compressed logical storage size collected by the Project.
     * 
     */
    private String costStorage;
    /**
     * @return Represents the creation time of the project
     * 
     */
    private String createTime;
    /**
     * @return Used to implement computing resource allocation.If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).
     * 
     */
    private String defaultQuota;
    /**
     * @return IP whitelist
     * 
     */
    private GetProjectsProjectIpWhiteList ipWhiteList;
    /**
     * @return Project owner
     * 
     */
    private String owner;
    /**
     * @return The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
     * 
     */
    private String projectName;
    /**
     * @return Project base attributes
     * 
     */
    private GetProjectsProjectProperties properties;
    /**
     * @return Security-related attributes
     * 
     */
    private GetProjectsProjectSecurityProperties securityProperties;
    /**
     * @return The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
     * 
     */
    private String status;
    /**
     * @return Project type
     * 
     */
    private String type;

    private GetProjectsProject() {}
    /**
     * @return Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
     * 
     */
    public String comment() {
        return this.comment;
    }
    /**
     * @return View the current storage size of the Project. The storage size is the same as the measurement size, that is, the compressed logical storage size collected by the Project.
     * 
     */
    public String costStorage() {
        return this.costStorage;
    }
    /**
     * @return Represents the creation time of the project
     * 
     */
    public String createTime() {
        return this.createTime;
    }
    /**
     * @return Used to implement computing resource allocation.If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).
     * 
     */
    public String defaultQuota() {
        return this.defaultQuota;
    }
    /**
     * @return IP whitelist
     * 
     */
    public GetProjectsProjectIpWhiteList ipWhiteList() {
        return this.ipWhiteList;
    }
    /**
     * @return Project owner
     * 
     */
    public String owner() {
        return this.owner;
    }
    /**
     * @return The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
     * 
     */
    public String projectName() {
        return this.projectName;
    }
    /**
     * @return Project base attributes
     * 
     */
    public GetProjectsProjectProperties properties() {
        return this.properties;
    }
    /**
     * @return Security-related attributes
     * 
     */
    public GetProjectsProjectSecurityProperties securityProperties() {
        return this.securityProperties;
    }
    /**
     * @return The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return Project type
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetProjectsProject defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String comment;
        private String costStorage;
        private String createTime;
        private String defaultQuota;
        private GetProjectsProjectIpWhiteList ipWhiteList;
        private String owner;
        private String projectName;
        private GetProjectsProjectProperties properties;
        private GetProjectsProjectSecurityProperties securityProperties;
        private String status;
        private String type;
        public Builder() {}
        public Builder(GetProjectsProject defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.comment = defaults.comment;
    	      this.costStorage = defaults.costStorage;
    	      this.createTime = defaults.createTime;
    	      this.defaultQuota = defaults.defaultQuota;
    	      this.ipWhiteList = defaults.ipWhiteList;
    	      this.owner = defaults.owner;
    	      this.projectName = defaults.projectName;
    	      this.properties = defaults.properties;
    	      this.securityProperties = defaults.securityProperties;
    	      this.status = defaults.status;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder comment(String comment) {
            if (comment == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "comment");
            }
            this.comment = comment;
            return this;
        }
        @CustomType.Setter
        public Builder costStorage(String costStorage) {
            if (costStorage == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "costStorage");
            }
            this.costStorage = costStorage;
            return this;
        }
        @CustomType.Setter
        public Builder createTime(String createTime) {
            if (createTime == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "createTime");
            }
            this.createTime = createTime;
            return this;
        }
        @CustomType.Setter
        public Builder defaultQuota(String defaultQuota) {
            if (defaultQuota == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "defaultQuota");
            }
            this.defaultQuota = defaultQuota;
            return this;
        }
        @CustomType.Setter
        public Builder ipWhiteList(GetProjectsProjectIpWhiteList ipWhiteList) {
            if (ipWhiteList == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "ipWhiteList");
            }
            this.ipWhiteList = ipWhiteList;
            return this;
        }
        @CustomType.Setter
        public Builder owner(String owner) {
            if (owner == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "owner");
            }
            this.owner = owner;
            return this;
        }
        @CustomType.Setter
        public Builder projectName(String projectName) {
            if (projectName == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "projectName");
            }
            this.projectName = projectName;
            return this;
        }
        @CustomType.Setter
        public Builder properties(GetProjectsProjectProperties properties) {
            if (properties == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "properties");
            }
            this.properties = properties;
            return this;
        }
        @CustomType.Setter
        public Builder securityProperties(GetProjectsProjectSecurityProperties securityProperties) {
            if (securityProperties == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "securityProperties");
            }
            this.securityProperties = securityProperties;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetProjectsProject", "type");
            }
            this.type = type;
            return this;
        }
        public GetProjectsProject build() {
            final var _resultValue = new GetProjectsProject();
            _resultValue.comment = comment;
            _resultValue.costStorage = costStorage;
            _resultValue.createTime = createTime;
            _resultValue.defaultQuota = defaultQuota;
            _resultValue.ipWhiteList = ipWhiteList;
            _resultValue.owner = owner;
            _resultValue.projectName = projectName;
            _resultValue.properties = properties;
            _resultValue.securityProperties = securityProperties;
            _resultValue.status = status;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy