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

com.pulumi.alicloud.quotas.outputs.GetQuotaApplicationsApplication 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.quotas.outputs;

import com.pulumi.alicloud.quotas.outputs.GetQuotaApplicationsApplicationDimension;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetQuotaApplicationsApplication {
    /**
     * @return The first ID of the resource.
     * 
     */
    private String applicationId;
    /**
     * @return The approve value.
     * 
     */
    private String approveValue;
    /**
     * @return The audit reason.
     * 
     */
    private String auditReason;
    /**
     * @return The desire value of the quota application.
     * 
     */
    private Double desireValue;
    /**
     * @return The quota dimensions.
     * 
     */
    private List dimensions;
    /**
     * @return The effective time.
     * 
     */
    private String effectiveTime;
    /**
     * @return The expire time.
     * 
     */
    private String expireTime;
    /**
     * @return The ID of the Application Info.
     * 
     */
    private String id;
    /**
     * @return The notice type.
     * 
     */
    private Integer noticeType;
    /**
     * @return The product code.
     * 
     */
    private String productCode;
    /**
     * @return The ID of quota action..
     * 
     */
    private String quotaActionCode;
    /**
     * @return The description of the quota.
     * 
     */
    private String quotaDescription;
    /**
     * @return The name of the quota.
     * 
     */
    private String quotaName;
    /**
     * @return The quota unit.
     * 
     */
    private String quotaUnit;
    /**
     * @return The reason of the quota application.
     * 
     */
    private String reason;
    /**
     * @return The status of the quota application.
     * 
     */
    private String status;

    private GetQuotaApplicationsApplication() {}
    /**
     * @return The first ID of the resource.
     * 
     */
    public String applicationId() {
        return this.applicationId;
    }
    /**
     * @return The approve value.
     * 
     */
    public String approveValue() {
        return this.approveValue;
    }
    /**
     * @return The audit reason.
     * 
     */
    public String auditReason() {
        return this.auditReason;
    }
    /**
     * @return The desire value of the quota application.
     * 
     */
    public Double desireValue() {
        return this.desireValue;
    }
    /**
     * @return The quota dimensions.
     * 
     */
    public List dimensions() {
        return this.dimensions;
    }
    /**
     * @return The effective time.
     * 
     */
    public String effectiveTime() {
        return this.effectiveTime;
    }
    /**
     * @return The expire time.
     * 
     */
    public String expireTime() {
        return this.expireTime;
    }
    /**
     * @return The ID of the Application Info.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The notice type.
     * 
     */
    public Integer noticeType() {
        return this.noticeType;
    }
    /**
     * @return The product code.
     * 
     */
    public String productCode() {
        return this.productCode;
    }
    /**
     * @return The ID of quota action..
     * 
     */
    public String quotaActionCode() {
        return this.quotaActionCode;
    }
    /**
     * @return The description of the quota.
     * 
     */
    public String quotaDescription() {
        return this.quotaDescription;
    }
    /**
     * @return The name of the quota.
     * 
     */
    public String quotaName() {
        return this.quotaName;
    }
    /**
     * @return The quota unit.
     * 
     */
    public String quotaUnit() {
        return this.quotaUnit;
    }
    /**
     * @return The reason of the quota application.
     * 
     */
    public String reason() {
        return this.reason;
    }
    /**
     * @return The status of the quota application.
     * 
     */
    public String status() {
        return this.status;
    }

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

    public static Builder builder(GetQuotaApplicationsApplication defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String applicationId;
        private String approveValue;
        private String auditReason;
        private Double desireValue;
        private List dimensions;
        private String effectiveTime;
        private String expireTime;
        private String id;
        private Integer noticeType;
        private String productCode;
        private String quotaActionCode;
        private String quotaDescription;
        private String quotaName;
        private String quotaUnit;
        private String reason;
        private String status;
        public Builder() {}
        public Builder(GetQuotaApplicationsApplication defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.applicationId = defaults.applicationId;
    	      this.approveValue = defaults.approveValue;
    	      this.auditReason = defaults.auditReason;
    	      this.desireValue = defaults.desireValue;
    	      this.dimensions = defaults.dimensions;
    	      this.effectiveTime = defaults.effectiveTime;
    	      this.expireTime = defaults.expireTime;
    	      this.id = defaults.id;
    	      this.noticeType = defaults.noticeType;
    	      this.productCode = defaults.productCode;
    	      this.quotaActionCode = defaults.quotaActionCode;
    	      this.quotaDescription = defaults.quotaDescription;
    	      this.quotaName = defaults.quotaName;
    	      this.quotaUnit = defaults.quotaUnit;
    	      this.reason = defaults.reason;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder applicationId(String applicationId) {
            if (applicationId == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "applicationId");
            }
            this.applicationId = applicationId;
            return this;
        }
        @CustomType.Setter
        public Builder approveValue(String approveValue) {
            if (approveValue == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "approveValue");
            }
            this.approveValue = approveValue;
            return this;
        }
        @CustomType.Setter
        public Builder auditReason(String auditReason) {
            if (auditReason == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "auditReason");
            }
            this.auditReason = auditReason;
            return this;
        }
        @CustomType.Setter
        public Builder desireValue(Double desireValue) {
            if (desireValue == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "desireValue");
            }
            this.desireValue = desireValue;
            return this;
        }
        @CustomType.Setter
        public Builder dimensions(List dimensions) {
            if (dimensions == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "dimensions");
            }
            this.dimensions = dimensions;
            return this;
        }
        public Builder dimensions(GetQuotaApplicationsApplicationDimension... dimensions) {
            return dimensions(List.of(dimensions));
        }
        @CustomType.Setter
        public Builder effectiveTime(String effectiveTime) {
            if (effectiveTime == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "effectiveTime");
            }
            this.effectiveTime = effectiveTime;
            return this;
        }
        @CustomType.Setter
        public Builder expireTime(String expireTime) {
            if (expireTime == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "expireTime");
            }
            this.expireTime = expireTime;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder noticeType(Integer noticeType) {
            if (noticeType == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "noticeType");
            }
            this.noticeType = noticeType;
            return this;
        }
        @CustomType.Setter
        public Builder productCode(String productCode) {
            if (productCode == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "productCode");
            }
            this.productCode = productCode;
            return this;
        }
        @CustomType.Setter
        public Builder quotaActionCode(String quotaActionCode) {
            if (quotaActionCode == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "quotaActionCode");
            }
            this.quotaActionCode = quotaActionCode;
            return this;
        }
        @CustomType.Setter
        public Builder quotaDescription(String quotaDescription) {
            if (quotaDescription == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "quotaDescription");
            }
            this.quotaDescription = quotaDescription;
            return this;
        }
        @CustomType.Setter
        public Builder quotaName(String quotaName) {
            if (quotaName == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "quotaName");
            }
            this.quotaName = quotaName;
            return this;
        }
        @CustomType.Setter
        public Builder quotaUnit(String quotaUnit) {
            if (quotaUnit == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "quotaUnit");
            }
            this.quotaUnit = quotaUnit;
            return this;
        }
        @CustomType.Setter
        public Builder reason(String reason) {
            if (reason == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "reason");
            }
            this.reason = reason;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetQuotaApplicationsApplication", "status");
            }
            this.status = status;
            return this;
        }
        public GetQuotaApplicationsApplication build() {
            final var _resultValue = new GetQuotaApplicationsApplication();
            _resultValue.applicationId = applicationId;
            _resultValue.approveValue = approveValue;
            _resultValue.auditReason = auditReason;
            _resultValue.desireValue = desireValue;
            _resultValue.dimensions = dimensions;
            _resultValue.effectiveTime = effectiveTime;
            _resultValue.expireTime = expireTime;
            _resultValue.id = id;
            _resultValue.noticeType = noticeType;
            _resultValue.productCode = productCode;
            _resultValue.quotaActionCode = quotaActionCode;
            _resultValue.quotaDescription = quotaDescription;
            _resultValue.quotaName = quotaName;
            _resultValue.quotaUnit = quotaUnit;
            _resultValue.reason = reason;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy