Class: TencentCloud::Emr::V20190103::StopParams
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::StopParams
- Defined in:
- lib/v20190103/models.rb
Overview
停止服务时的参数
Instance Attribute Summary collapse
-
#StopPolicy ⇒ Object
默认模式:default.
-
#ThreadCount ⇒ Object
默认模式:default.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(stoppolicy = nil, threadcount = nil) ⇒ StopParams
constructor
A new instance of StopParams.
Constructor Details
#initialize(stoppolicy = nil, threadcount = nil) ⇒ StopParams
Returns a new instance of StopParams.
13880 13881 13882 13883 |
# File 'lib/v20190103/models.rb', line 13880 def initialize(stoppolicy=nil, threadcount=nil) @StopPolicy = stoppolicy @ThreadCount = threadcount end |
Instance Attribute Details
#StopPolicy ⇒ Object
默认模式:default
13878 13879 13880 |
# File 'lib/v20190103/models.rb', line 13878 def StopPolicy @StopPolicy end |
#ThreadCount ⇒ Object
默认模式:default
13878 13879 13880 |
# File 'lib/v20190103/models.rb', line 13878 def ThreadCount @ThreadCount end |
Instance Method Details
#deserialize(params) ⇒ Object
13885 13886 13887 13888 |
# File 'lib/v20190103/models.rb', line 13885 def deserialize(params) @StopPolicy = params['StopPolicy'] @ThreadCount = params['ThreadCount'] end |