Class TopicInSyncReplicaInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.TopicInSyncReplicaInfo
-
public class TopicInSyncReplicaInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TopicInSyncReplicaInfo()TopicInSyncReplicaInfo(TopicInSyncReplicaInfo 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBeginOffset()Get 起始Offset 注意:此字段可能返回 null,表示取不到有效值。LonggetEndOffset()Get 末端Offset 注意:此字段可能返回 null,表示取不到有效值。StringgetInSyncReplica()Get ISRLonggetLeader()Get Leader IdLonggetMessageCount()Get 消息数 注意:此字段可能返回 null,表示取不到有效值。StringgetOutOfSyncReplica()Get 未同步副本集 注意:此字段可能返回 null,表示取不到有效值。StringgetPartition()Get 分区名称StringgetReplica()Get 副本集voidsetBeginOffset(Long BeginOffset)Set 起始Offset 注意:此字段可能返回 null,表示取不到有效值。voidsetEndOffset(Long EndOffset)Set 末端Offset 注意:此字段可能返回 null,表示取不到有效值。voidsetInSyncReplica(String InSyncReplica)Set ISRvoidsetLeader(Long Leader)Set Leader IdvoidsetMessageCount(Long MessageCount)Set 消息数 注意:此字段可能返回 null,表示取不到有效值。voidsetOutOfSyncReplica(String OutOfSyncReplica)Set 未同步副本集 注意:此字段可能返回 null,表示取不到有效值。voidsetPartition(String Partition)Set 分区名称voidsetReplica(String Replica)Set 副本集voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TopicInSyncReplicaInfo
public TopicInSyncReplicaInfo()
-
TopicInSyncReplicaInfo
public TopicInSyncReplicaInfo(TopicInSyncReplicaInfo 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.
-
-
Method Detail
-
getPartition
public String getPartition()
Get 分区名称- Returns:
- Partition 分区名称
-
setPartition
public void setPartition(String Partition)
Set 分区名称- Parameters:
Partition- 分区名称
-
getLeader
public Long getLeader()
Get Leader Id- Returns:
- Leader Leader Id
-
setLeader
public void setLeader(Long Leader)
Set Leader Id- Parameters:
Leader- Leader Id
-
getReplica
public String getReplica()
Get 副本集- Returns:
- Replica 副本集
-
setReplica
public void setReplica(String Replica)
Set 副本集- Parameters:
Replica- 副本集
-
getInSyncReplica
public String getInSyncReplica()
Get ISR- Returns:
- InSyncReplica ISR
-
setInSyncReplica
public void setInSyncReplica(String InSyncReplica)
Set ISR- Parameters:
InSyncReplica- ISR
-
getBeginOffset
public Long getBeginOffset()
Get 起始Offset 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BeginOffset 起始Offset 注意:此字段可能返回 null,表示取不到有效值。
-
setBeginOffset
public void setBeginOffset(Long BeginOffset)
Set 起始Offset 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BeginOffset- 起始Offset 注意:此字段可能返回 null,表示取不到有效值。
-
getEndOffset
public Long getEndOffset()
Get 末端Offset 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- EndOffset 末端Offset 注意:此字段可能返回 null,表示取不到有效值。
-
setEndOffset
public void setEndOffset(Long EndOffset)
Set 末端Offset 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
EndOffset- 末端Offset 注意:此字段可能返回 null,表示取不到有效值。
-
getMessageCount
public Long getMessageCount()
Get 消息数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MessageCount 消息数 注意:此字段可能返回 null,表示取不到有效值。
-
setMessageCount
public void setMessageCount(Long MessageCount)
Set 消息数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MessageCount- 消息数 注意:此字段可能返回 null,表示取不到有效值。
-
getOutOfSyncReplica
public String getOutOfSyncReplica()
Get 未同步副本集 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- OutOfSyncReplica 未同步副本集 注意:此字段可能返回 null,表示取不到有效值。
-
setOutOfSyncReplica
public void setOutOfSyncReplica(String OutOfSyncReplica)
Set 未同步副本集 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
OutOfSyncReplica- 未同步副本集 注意:此字段可能返回 null,表示取不到有效值。
-
-