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

com.pulumi.alicloud.cassandra.outputs.GetDataCentersCenter 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.cassandra.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetDataCentersCenter {
    /**
     * @return The cluster id of dataCenters belongs to.
     * 
     */
    private String clusterId;
    /**
     * @return The commodity ID of the Cassandra dataCenter.
     * 
     */
    private String commodityInstance;
    private String createdTime;
    /**
     * @return The id of the Cassandra dataCenter.
     * 
     */
    private String dataCenterId;
    /**
     * @return The name of the Cassandra dataCenter.
     * 
     */
    private String dataCenterName;
    /**
     * @return One node disk size, unit:GB.
     * 
     */
    private Integer diskSize;
    /**
     * @return Cloud_ssd or cloud_efficiency.
     * 
     */
    private String diskType;
    /**
     * @return The expire time of the dataCenter.
     * 
     */
    private String expireTime;
    /**
     * @return The instance type of the Cassandra dataCenter, eg: cassandra.c.large.
     * 
     */
    private String instanceType;
    /**
     * @return The lock mode of the dataCenter.
     * 
     */
    private String lockMode;
    /**
     * @return The node count of dataCenter.
     * 
     */
    private Integer nodeCount;
    /**
     * @return Billing method. Value options are `Subscription` for Pay-As-You-Go and `PayAsYouGo` for yearly or monthly subscription.
     * 
     */
    private String payType;
    /**
     * @return Status of the dataCenter.
     * 
     */
    private String status;
    /**
     * @return VPC ID the dataCenter belongs to.
     * 
     */
    private String vpcId;
    /**
     * @return VSwitch ID the dataCenter belongs to.
     * 
     */
    private String vswitchId;
    /**
     * @return Zone ID the dataCenter belongs to.
     * 
     */
    private String zoneId;

    private GetDataCentersCenter() {}
    /**
     * @return The cluster id of dataCenters belongs to.
     * 
     */
    public String clusterId() {
        return this.clusterId;
    }
    /**
     * @return The commodity ID of the Cassandra dataCenter.
     * 
     */
    public String commodityInstance() {
        return this.commodityInstance;
    }
    public String createdTime() {
        return this.createdTime;
    }
    /**
     * @return The id of the Cassandra dataCenter.
     * 
     */
    public String dataCenterId() {
        return this.dataCenterId;
    }
    /**
     * @return The name of the Cassandra dataCenter.
     * 
     */
    public String dataCenterName() {
        return this.dataCenterName;
    }
    /**
     * @return One node disk size, unit:GB.
     * 
     */
    public Integer diskSize() {
        return this.diskSize;
    }
    /**
     * @return Cloud_ssd or cloud_efficiency.
     * 
     */
    public String diskType() {
        return this.diskType;
    }
    /**
     * @return The expire time of the dataCenter.
     * 
     */
    public String expireTime() {
        return this.expireTime;
    }
    /**
     * @return The instance type of the Cassandra dataCenter, eg: cassandra.c.large.
     * 
     */
    public String instanceType() {
        return this.instanceType;
    }
    /**
     * @return The lock mode of the dataCenter.
     * 
     */
    public String lockMode() {
        return this.lockMode;
    }
    /**
     * @return The node count of dataCenter.
     * 
     */
    public Integer nodeCount() {
        return this.nodeCount;
    }
    /**
     * @return Billing method. Value options are `Subscription` for Pay-As-You-Go and `PayAsYouGo` for yearly or monthly subscription.
     * 
     */
    public String payType() {
        return this.payType;
    }
    /**
     * @return Status of the dataCenter.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return VPC ID the dataCenter belongs to.
     * 
     */
    public String vpcId() {
        return this.vpcId;
    }
    /**
     * @return VSwitch ID the dataCenter belongs to.
     * 
     */
    public String vswitchId() {
        return this.vswitchId;
    }
    /**
     * @return Zone ID the dataCenter belongs to.
     * 
     */
    public String zoneId() {
        return this.zoneId;
    }

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

    public static Builder builder(GetDataCentersCenter defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String clusterId;
        private String commodityInstance;
        private String createdTime;
        private String dataCenterId;
        private String dataCenterName;
        private Integer diskSize;
        private String diskType;
        private String expireTime;
        private String instanceType;
        private String lockMode;
        private Integer nodeCount;
        private String payType;
        private String status;
        private String vpcId;
        private String vswitchId;
        private String zoneId;
        public Builder() {}
        public Builder(GetDataCentersCenter defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clusterId = defaults.clusterId;
    	      this.commodityInstance = defaults.commodityInstance;
    	      this.createdTime = defaults.createdTime;
    	      this.dataCenterId = defaults.dataCenterId;
    	      this.dataCenterName = defaults.dataCenterName;
    	      this.diskSize = defaults.diskSize;
    	      this.diskType = defaults.diskType;
    	      this.expireTime = defaults.expireTime;
    	      this.instanceType = defaults.instanceType;
    	      this.lockMode = defaults.lockMode;
    	      this.nodeCount = defaults.nodeCount;
    	      this.payType = defaults.payType;
    	      this.status = defaults.status;
    	      this.vpcId = defaults.vpcId;
    	      this.vswitchId = defaults.vswitchId;
    	      this.zoneId = defaults.zoneId;
        }

        @CustomType.Setter
        public Builder clusterId(String clusterId) {
            if (clusterId == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "clusterId");
            }
            this.clusterId = clusterId;
            return this;
        }
        @CustomType.Setter
        public Builder commodityInstance(String commodityInstance) {
            if (commodityInstance == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "commodityInstance");
            }
            this.commodityInstance = commodityInstance;
            return this;
        }
        @CustomType.Setter
        public Builder createdTime(String createdTime) {
            if (createdTime == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "createdTime");
            }
            this.createdTime = createdTime;
            return this;
        }
        @CustomType.Setter
        public Builder dataCenterId(String dataCenterId) {
            if (dataCenterId == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "dataCenterId");
            }
            this.dataCenterId = dataCenterId;
            return this;
        }
        @CustomType.Setter
        public Builder dataCenterName(String dataCenterName) {
            if (dataCenterName == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "dataCenterName");
            }
            this.dataCenterName = dataCenterName;
            return this;
        }
        @CustomType.Setter
        public Builder diskSize(Integer diskSize) {
            if (diskSize == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "diskSize");
            }
            this.diskSize = diskSize;
            return this;
        }
        @CustomType.Setter
        public Builder diskType(String diskType) {
            if (diskType == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "diskType");
            }
            this.diskType = diskType;
            return this;
        }
        @CustomType.Setter
        public Builder expireTime(String expireTime) {
            if (expireTime == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "expireTime");
            }
            this.expireTime = expireTime;
            return this;
        }
        @CustomType.Setter
        public Builder instanceType(String instanceType) {
            if (instanceType == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "instanceType");
            }
            this.instanceType = instanceType;
            return this;
        }
        @CustomType.Setter
        public Builder lockMode(String lockMode) {
            if (lockMode == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "lockMode");
            }
            this.lockMode = lockMode;
            return this;
        }
        @CustomType.Setter
        public Builder nodeCount(Integer nodeCount) {
            if (nodeCount == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "nodeCount");
            }
            this.nodeCount = nodeCount;
            return this;
        }
        @CustomType.Setter
        public Builder payType(String payType) {
            if (payType == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "payType");
            }
            this.payType = payType;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder vpcId(String vpcId) {
            if (vpcId == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "vpcId");
            }
            this.vpcId = vpcId;
            return this;
        }
        @CustomType.Setter
        public Builder vswitchId(String vswitchId) {
            if (vswitchId == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "vswitchId");
            }
            this.vswitchId = vswitchId;
            return this;
        }
        @CustomType.Setter
        public Builder zoneId(String zoneId) {
            if (zoneId == null) {
              throw new MissingRequiredPropertyException("GetDataCentersCenter", "zoneId");
            }
            this.zoneId = zoneId;
            return this;
        }
        public GetDataCentersCenter build() {
            final var _resultValue = new GetDataCentersCenter();
            _resultValue.clusterId = clusterId;
            _resultValue.commodityInstance = commodityInstance;
            _resultValue.createdTime = createdTime;
            _resultValue.dataCenterId = dataCenterId;
            _resultValue.dataCenterName = dataCenterName;
            _resultValue.diskSize = diskSize;
            _resultValue.diskType = diskType;
            _resultValue.expireTime = expireTime;
            _resultValue.instanceType = instanceType;
            _resultValue.lockMode = lockMode;
            _resultValue.nodeCount = nodeCount;
            _resultValue.payType = payType;
            _resultValue.status = status;
            _resultValue.vpcId = vpcId;
            _resultValue.vswitchId = vswitchId;
            _resultValue.zoneId = zoneId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy