Class: TencentCloud::Ckafka::V20190819::DynamicRetentionTime

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190819/models.rb

Overview

动态消息保留时间配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enable = nil, diskquotapercentage = nil, stepforwardpercentage = nil, bottomretention = nil) ⇒ DynamicRetentionTime

Returns a new instance of DynamicRetentionTime.



6568
6569
6570
6571
6572
6573
# File 'lib/v20190819/models.rb', line 6568

def initialize(enable=nil, diskquotapercentage=nil, stepforwardpercentage=nil, bottomretention=nil)
  @Enable = enable
  @DiskQuotaPercentage = diskquotapercentage
  @StepForwardPercentage = stepforwardpercentage
  @BottomRetention = bottomretention
end

Instance Attribute Details

#BottomRetentionObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Enable:

    动态消息保留时间配置开关(0: 关闭,1: 开启)

  • DiskQuotaPercentage:

    磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件

  • StepForwardPercentage:

    每次向前调整消息保留时间百分比

  • BottomRetention:

    保底时长,单位分钟



6566
6567
6568
# File 'lib/v20190819/models.rb', line 6566

def BottomRetention
  @BottomRetention
end

#DiskQuotaPercentageObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Enable:

    动态消息保留时间配置开关(0: 关闭,1: 开启)

  • DiskQuotaPercentage:

    磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件

  • StepForwardPercentage:

    每次向前调整消息保留时间百分比

  • BottomRetention:

    保底时长,单位分钟



6566
6567
6568
# File 'lib/v20190819/models.rb', line 6566

def DiskQuotaPercentage
  @DiskQuotaPercentage
end

#EnableObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Enable:

    动态消息保留时间配置开关(0: 关闭,1: 开启)

  • DiskQuotaPercentage:

    磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件

  • StepForwardPercentage:

    每次向前调整消息保留时间百分比

  • BottomRetention:

    保底时长,单位分钟



6566
6567
6568
# File 'lib/v20190819/models.rb', line 6566

def Enable
  @Enable
end

#StepForwardPercentageObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Enable:

    动态消息保留时间配置开关(0: 关闭,1: 开启)

  • DiskQuotaPercentage:

    磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件

  • StepForwardPercentage:

    每次向前调整消息保留时间百分比

  • BottomRetention:

    保底时长,单位分钟



6566
6567
6568
# File 'lib/v20190819/models.rb', line 6566

def StepForwardPercentage
  @StepForwardPercentage
end

Instance Method Details

#deserialize(params) ⇒ Object



6575
6576
6577
6578
6579
6580
# File 'lib/v20190819/models.rb', line 6575

def deserialize(params)
  @Enable = params['Enable']
  @DiskQuotaPercentage = params['DiskQuotaPercentage']
  @StepForwardPercentage = params['StepForwardPercentage']
  @BottomRetention = params['BottomRetention']
end