public class Cluster extends AbstractModel
Constructor and Description |
---|
Cluster() |
Cluster(Cluster source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterId()
Get Cluster ID.
|
String |
getClusterName()
Get Cluster name.
|
String |
getCreateTime()
Get Creation time
|
Long |
getEndPointNum()
Get Number of access points
|
Long |
getHealthy()
Get Whether the cluster is healthy.
|
String |
getHealthyInfo()
Get Cluster health information
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getMaxDispatchRateInBytes()
Get Maximum message push rate in bytes
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getMaxDispatchRateInMessages()
Get Maximum message push rate in messages
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getMaxMessageDelayInSeconds()
Get Maximum message delay in seconds
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getMaxNamespaceNum()
Get Maximum number of namespaces
|
Long |
getMaxPublishRateInBytes()
Get Maximum message production rate in bytes
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getMaxPublishRateInMessages()
Get Maximum message production rate in messages
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getMaxQps()
Get Maximum QPS
|
Long |
getMaxStorageCapacity()
Get Maximum storage capacity
|
Long |
getMaxTopicNum()
Get Maximum number of topics
|
Long |
getMessageRetentionTime()
Get Maximum message retention period in seconds
|
Long |
getNamespaceNum()
Get Number of namespaces
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getPayMode()
Get Billing mode:
`0`: Pay-as-you-go
`1`: Monthly subscription
Note: This field may return `null`, indicating that no valid values can be obtained.
|
Boolean |
getPublicAccessEnabled()
Get Whether to enable public network access.
|
String |
getPublicEndPoint()
Get Public network access point
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getRemark()
Get Remarks.
|
Long |
getStatus()
Get Cluster status.
|
Tag[] |
getTags()
Get Tag
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getTopicNum()
Get Number of created topics
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getUsedStorageBudget()
Get Limit of used storage in MB
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getVersion()
Get Cluster version
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getVpcEndPoint()
Get VPC access point
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setClusterId(String ClusterId)
Set Cluster ID.
|
void |
setClusterName(String ClusterName)
Set Cluster name.
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setEndPointNum(Long EndPointNum)
Set Number of access points
|
void |
setHealthy(Long Healthy)
Set Whether the cluster is healthy.
|
void |
setHealthyInfo(String HealthyInfo)
Set Cluster health information
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setMaxDispatchRateInBytes(Long MaxDispatchRateInBytes)
Set Maximum message push rate in bytes
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setMaxDispatchRateInMessages(Long MaxDispatchRateInMessages)
Set Maximum message push rate in messages
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setMaxMessageDelayInSeconds(Long MaxMessageDelayInSeconds)
Set Maximum message delay in seconds
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setMaxNamespaceNum(Long MaxNamespaceNum)
Set Maximum number of namespaces
|
void |
setMaxPublishRateInBytes(Long MaxPublishRateInBytes)
Set Maximum message production rate in bytes
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setMaxPublishRateInMessages(Long MaxPublishRateInMessages)
Set Maximum message production rate in messages
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setMaxQps(Long MaxQps)
Set Maximum QPS
|
void |
setMaxStorageCapacity(Long MaxStorageCapacity)
Set Maximum storage capacity
|
void |
setMaxTopicNum(Long MaxTopicNum)
Set Maximum number of topics
|
void |
setMessageRetentionTime(Long MessageRetentionTime)
Set Maximum message retention period in seconds
|
void |
setNamespaceNum(Long NamespaceNum)
Set Number of namespaces
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPayMode(Long PayMode)
Set Billing mode:
`0`: Pay-as-you-go
`1`: Monthly subscription
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setPublicAccessEnabled(Boolean PublicAccessEnabled)
Set Whether to enable public network access.
|
void |
setPublicEndPoint(String PublicEndPoint)
Set Public network access point
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setRemark(String Remark)
Set Remarks.
|
void |
setStatus(Long Status)
Set Cluster status.
|
void |
setTags(Tag[] Tags)
Set Tag
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setTopicNum(Long TopicNum)
Set Number of created topics
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setUsedStorageBudget(Long UsedStorageBudget)
Set Limit of used storage in MB
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setVersion(String Version)
Set Cluster version
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setVpcEndPoint(String VpcEndPoint)
Set VPC access point
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Cluster()
public Cluster(Cluster source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster ID.public String getClusterName()
public void setClusterName(String ClusterName)
ClusterName
- Cluster name.public String getRemark()
public void setRemark(String Remark)
Remark
- Remarks.public Long getEndPointNum()
public void setEndPointNum(Long EndPointNum)
EndPointNum
- Number of access pointspublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic Long getHealthy()
public void setHealthy(Long Healthy)
Healthy
- Whether the cluster is healthy. 1: healthy; 0: exceptionalpublic String getHealthyInfo()
public void setHealthyInfo(String HealthyInfo)
HealthyInfo
- Cluster health information
Note: this field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status
- Cluster status. 0: creating; 1: normal; 2: terminating; 3: deleted; 4. isolated; 5. creation failed; 6: deletion failedpublic Long getMaxNamespaceNum()
public void setMaxNamespaceNum(Long MaxNamespaceNum)
MaxNamespaceNum
- Maximum number of namespacespublic Long getMaxTopicNum()
public void setMaxTopicNum(Long MaxTopicNum)
MaxTopicNum
- Maximum number of topicspublic Long getMaxQps()
public void setMaxQps(Long MaxQps)
MaxQps
- Maximum QPSpublic Long getMessageRetentionTime()
public void setMessageRetentionTime(Long MessageRetentionTime)
MessageRetentionTime
- Maximum message retention period in secondspublic Long getMaxStorageCapacity()
public void setMaxStorageCapacity(Long MaxStorageCapacity)
MaxStorageCapacity
- Maximum storage capacitypublic String getVersion()
public void setVersion(String Version)
Version
- Cluster version
Note: this field may return null, indicating that no valid values can be obtained.public String getPublicEndPoint()
public void setPublicEndPoint(String PublicEndPoint)
PublicEndPoint
- Public network access point
Note: this field may return null, indicating that no valid values can be obtained.public String getVpcEndPoint()
public void setVpcEndPoint(String VpcEndPoint)
VpcEndPoint
- VPC access point
Note: this field may return null, indicating that no valid values can be obtained.public Long getNamespaceNum()
public void setNamespaceNum(Long NamespaceNum)
NamespaceNum
- Number of namespaces
Note: this field may return null, indicating that no valid values can be obtained.public Long getUsedStorageBudget()
public void setUsedStorageBudget(Long UsedStorageBudget)
UsedStorageBudget
- Limit of used storage in MB
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaxPublishRateInMessages()
public void setMaxPublishRateInMessages(Long MaxPublishRateInMessages)
MaxPublishRateInMessages
- Maximum message production rate in messages
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaxDispatchRateInMessages()
public void setMaxDispatchRateInMessages(Long MaxDispatchRateInMessages)
MaxDispatchRateInMessages
- Maximum message push rate in messages
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaxPublishRateInBytes()
public void setMaxPublishRateInBytes(Long MaxPublishRateInBytes)
MaxPublishRateInBytes
- Maximum message production rate in bytes
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaxDispatchRateInBytes()
public void setMaxDispatchRateInBytes(Long MaxDispatchRateInBytes)
MaxDispatchRateInBytes
- Maximum message push rate in bytes
Note: this field may return null, indicating that no valid values can be obtained.public Long getTopicNum()
public void setTopicNum(Long TopicNum)
TopicNum
- Number of created topics
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaxMessageDelayInSeconds()
public void setMaxMessageDelayInSeconds(Long MaxMessageDelayInSeconds)
MaxMessageDelayInSeconds
- Maximum message delay in seconds
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getPublicAccessEnabled()
public void setPublicAccessEnabled(Boolean PublicAccessEnabled)
PublicAccessEnabled
- Whether to enable public network access. If this parameter is left empty, the feature will be enabled by default
Note: this field may return null, indicating that no valid values can be obtained.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag
Note: this field may return null, indicating that no valid values can be obtained.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Billing mode:
`0`: Pay-as-you-go
`1`: Monthly subscription
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.