public class RoGroup extends AbstractModel
| Constructor and Description | 
|---|
| RoGroup() | 
| RoGroup(RoGroup 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 | 
|---|---|
| Long | getMinRoInGroup()Get Minimum number of instances to be retained. | 
| String | getRoGroupId()Get Read-only group ID. | 
| String | getRoGroupMode()Get Read-only group mode. | 
| String | getRoGroupName()Get Read-only group name. | 
| String | getRoGroupRegion()Get Read-only group region. | 
| String | getRoGroupZone()Get Read-only group AZ. | 
| RoInstanceInfo[] | getRoInstances()Get Details of read-only instances in read-only group | 
| Long | getRoMaxDelayTime()Get Latency threshold | 
| Long | getRoOfflineDelay()Get Whether to enable the function of isolating an instance that exceeds the latency threshold. | 
| String | getUniqSubnetId()Get Subnet ID. | 
| String | getUniqVpcId()Get VPC ID. | 
| String | getVip()Get Private IP of read-only group. | 
| Long | getVport()Get Private network port number of read-only group. | 
| Long | getWeight()Get Weight value. | 
| String | getWeightMode()Get Read/write weight distribution mode. | 
| void | setMinRoInGroup(Long MinRoInGroup)Set Minimum number of instances to be retained. | 
| void | setRoGroupId(String RoGroupId)Set Read-only group ID. | 
| void | setRoGroupMode(String RoGroupMode)Set Read-only group mode. | 
| void | setRoGroupName(String RoGroupName)Set Read-only group name. | 
| void | setRoGroupRegion(String RoGroupRegion)Set Read-only group region. | 
| void | setRoGroupZone(String RoGroupZone)Set Read-only group AZ. | 
| void | setRoInstances(RoInstanceInfo[] RoInstances)Set Details of read-only instances in read-only group | 
| void | setRoMaxDelayTime(Long RoMaxDelayTime)Set Latency threshold | 
| void | setRoOfflineDelay(Long RoOfflineDelay)Set Whether to enable the function of isolating an instance that exceeds the latency threshold. | 
| void | setUniqSubnetId(String UniqSubnetId)Set Subnet ID. | 
| void | setUniqVpcId(String UniqVpcId)Set VPC ID. | 
| void | setVip(String Vip)Set Private IP of read-only group. | 
| void | setVport(Long Vport)Set Private network port number of read-only group. | 
| void | setWeight(Long Weight)Set Weight value. | 
| void | setWeightMode(String WeightMode)Set Read/write weight distribution mode. | 
| 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, toJsonStringpublic RoGroup()
public RoGroup(RoGroup source)
public String getRoGroupMode()
public void setRoGroupMode(String RoGroupMode)
RoGroupMode - Read-only group mode. Valid values: `alone` (the system assigns a read-only group automatically), `allinone` (a new read-only group will be created), `join` (an existing read-only group will be used).public String getRoGroupId()
public void setRoGroupId(String RoGroupId)
RoGroupId - Read-only group ID.public String getRoGroupName()
public void setRoGroupName(String RoGroupName)
RoGroupName - Read-only group name.public Long getRoOfflineDelay()
public void setRoOfflineDelay(Long RoOfflineDelay)
RoOfflineDelay - Whether to enable the function of isolating an instance that exceeds the latency threshold. If it is enabled, when the latency between the read-only instance and the primary instance exceeds the latency threshold, the read-only instance will be isolated. Valid values: 1 (enabled), 0 (not enabled)public Long getRoMaxDelayTime()
public void setRoMaxDelayTime(Long RoMaxDelayTime)
RoMaxDelayTime - Latency thresholdpublic Long getMinRoInGroup()
public void setMinRoInGroup(Long MinRoInGroup)
MinRoInGroup - Minimum number of instances to be retained. If the number of the purchased read-only instances is smaller than the set value, they will not be removed.public String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode - Read/write weight distribution mode. Valid values: `system` (weights are assigned by the system automatically), `custom` (weights are customized)public Long getWeight()
public void setWeight(Long Weight)
Weight - Weight value.public RoInstanceInfo[] getRoInstances()
public void setRoInstances(RoInstanceInfo[] RoInstances)
RoInstances - Details of read-only instances in read-only grouppublic String getVip()
public void setVip(String Vip)
Vip - Private IP of read-only group.public Long getVport()
public void setVport(Long Vport)
Vport - Private network port number of read-only group.public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId - VPC ID.
Note: this field may return null, indicating that no valid values can be obtained.public String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId - Subnet ID.
Note: this field may return null, indicating that no valid values can be obtained.public String getRoGroupRegion()
public void setRoGroupRegion(String RoGroupRegion)
RoGroupRegion - Read-only group region.
Note: this field may return null, indicating that no valid values can be obtained.public String getRoGroupZone()
public void setRoGroupZone(String RoGroupZone)
RoGroupZone - Read-only group AZ.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.