public class ModifyRoTypeRequest extends AbstractModel
| Constructor and Description |
|---|
ModifyRoTypeRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDstRoInstType()
Get 只读实例目标类型,取值 NORMAL(普通只读实例)、DELAY_REPLICATION(延迟只读实例)。
|
String |
getInstanceId()
Get 实例 ID。
|
Long |
getReplicationDelay()
Get 延迟时间(s),将实例修改为延迟只读实例时必传。最小值1,最大值259200。
|
String |
getSrcRoInstType()
Get 只读实例源类型,取值 NORMAL(普通只读实例)、DELAY_REPLICATION(延迟只读实例)。
|
void |
setDstRoInstType(String DstRoInstType)
Set 只读实例目标类型,取值 NORMAL(普通只读实例)、DELAY_REPLICATION(延迟只读实例)。
|
void |
setInstanceId(String InstanceId)
Set 实例 ID。
|
void |
setReplicationDelay(Long ReplicationDelay)
Set 延迟时间(s),将实例修改为延迟只读实例时必传。最小值1,最大值259200。
|
void |
setSrcRoInstType(String SrcRoInstType)
Set 只读实例源类型,取值 NORMAL(普通只读实例)、DELAY_REPLICATION(延迟只读实例)。
|
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 String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例 ID。public String getSrcRoInstType()
public void setSrcRoInstType(String SrcRoInstType)
SrcRoInstType - 只读实例源类型,取值 NORMAL(普通只读实例)、DELAY_REPLICATION(延迟只读实例)。public String getDstRoInstType()
public void setDstRoInstType(String DstRoInstType)
DstRoInstType - 只读实例目标类型,取值 NORMAL(普通只读实例)、DELAY_REPLICATION(延迟只读实例)。public Long getReplicationDelay()
public void setReplicationDelay(Long ReplicationDelay)
ReplicationDelay - 延迟时间(s),将实例修改为延迟只读实例时必传。最小值1,最大值259200。Copyright © 2020. All rights reserved.