public class StartDelayReplicationRequest extends AbstractModel
Constructor and Description |
---|
StartDelayReplicationRequest() |
StartDelayReplicationRequest(StartDelayReplicationRequest 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 |
getDelayReplicationType()
Get Delayed replication mode.
|
Long |
getDueTime()
Get Specified point in time.
|
String |
getGtid()
Get Specified GITD.
|
String |
getInstanceId()
Get Instance ID
|
void |
setDelayReplicationType(String DelayReplicationType)
Set Delayed replication mode.
|
void |
setDueTime(Long DueTime)
Set Specified point in time.
|
void |
setGtid(String Gtid)
Set Specified GITD.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
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 StartDelayReplicationRequest()
public StartDelayReplicationRequest(StartDelayReplicationRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getDelayReplicationType()
public void setDelayReplicationType(String DelayReplicationType)
DelayReplicationType
- Delayed replication mode. Valid values: `DEFAULT` (replicate according to the specified replication delay), `GTID` (replicate according to the specified GTID), `DUE_TIME` (replicate according to the specified point in time).public Long getDueTime()
public void setDueTime(Long DueTime)
DueTime
- Specified point in time. Default value: 0. The maximum value cannot be later than the current time.public String getGtid()
public void setGtid(String Gtid)
Gtid
- Specified GITD. This parameter is required when the delayed replication mode is `GTID`.Copyright © 2021. All rights reserved.