Class: TencentCloud::Eb::V20210416::RetryPolicy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::RetryPolicy
- Defined in:
- lib/v20210416/models.rb
Overview
用来描述一个ckafka投递目标的重试策略
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(retryinterval = nil, maxretryattempts = nil) ⇒ RetryPolicy
constructor
A new instance of RetryPolicy.
Constructor Details
#initialize(retryinterval = nil, maxretryattempts = nil) ⇒ RetryPolicy
Returns a new instance of RetryPolicy.
2007 2008 2009 2010 |
# File 'lib/v20210416/models.rb', line 2007 def initialize(=nil, maxretryattempts=nil) @RetryInterval = @MaxRetryAttempts = maxretryattempts end |
Instance Attribute Details
#MaxRetryAttempts ⇒ Object
2005 2006 2007 |
# File 'lib/v20210416/models.rb', line 2005 def MaxRetryAttempts @MaxRetryAttempts end |
#RetryInterval ⇒ Object
2005 2006 2007 |
# File 'lib/v20210416/models.rb', line 2005 def RetryInterval @RetryInterval end |
Instance Method Details
#deserialize(params) ⇒ Object
2012 2013 2014 2015 |
# File 'lib/v20210416/models.rb', line 2012 def deserialize(params) @RetryInterval = params['RetryInterval'] @MaxRetryAttempts = params['MaxRetryAttempts'] end |