public class ModifiedSubscribeObject extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifiedSubscribeObject() |
ModifiedSubscribeObject(ModifiedSubscribeObject 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 |
getDatabaseName()
Get Subscription database nameNote: This field may return null, indicating that no valid values can be obtained.
|
Long |
getObjectsType()
Get Subscription object type.
|
String[] |
getTableNames()
Get Name of the table (or collection) in the subscription database.
|
void |
setDatabaseName(String DatabaseName)
Set Subscription database nameNote: This field may return null, indicating that no valid values can be obtained.
|
void |
setObjectsType(Long ObjectsType)
Set Subscription object type.
|
void |
setTableNames(String[] TableNames)
Set Name of the table (or collection) in the subscription database.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifiedSubscribeObject()
public ModifiedSubscribeObject(ModifiedSubscribeObject source)
public Long getObjectsType()
public void setObjectsType(Long ObjectsType)
ObjectsType
- Subscription object type. Valid values: 0 (database); 1 (table, for mongo tasks, this corresponds to a collection).Note: mongo only supports full instance, single database or single collection subscription, so this field should not conflict with SubscribeObjectType. For example, when SubscribeObjectType=4, it means mongo single database subscription, then 0 should be passed in this field.Note: This field may return null, indicating that no valid values can be obtained.public String getDatabaseName()
public void setDatabaseName(String DatabaseName)
DatabaseName
- Subscription database nameNote: This field may return null, indicating that no valid values can be obtained.public String[] getTableNames()
public void setTableNames(String[] TableNames)
TableNames
- Name of the table (or collection) in the subscription database. If ObjectsType is 1, this field is required and not empty;Copyright © 2024. All rights reserved.