Class: TencentCloud::Emr::V20190103::UpdateInstanceSettings
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::UpdateInstanceSettings
- Defined in:
- lib/v20190103/models.rb
Overview
变配资源规格
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(memory = nil, cpucores = nil, resourceid = nil, instancetype = nil) ⇒ UpdateInstanceSettings
constructor
A new instance of UpdateInstanceSettings.
Constructor Details
#initialize(memory = nil, cpucores = nil, resourceid = nil, instancetype = nil) ⇒ UpdateInstanceSettings
Returns a new instance of UpdateInstanceSettings.
14668 14669 14670 14671 14672 14673 |
# File 'lib/v20190103/models.rb', line 14668 def initialize(memory=nil, cpucores=nil, resourceid=nil, instancetype=nil) @Memory = memory @CPUCores = cpucores @ResourceId = resourceid @InstanceType = instancetype end |
Instance Attribute Details
#CPUCores ⇒ Object
14666 14667 14668 |
# File 'lib/v20190103/models.rb', line 14666 def CPUCores @CPUCores end |
#InstanceType ⇒ Object
14666 14667 14668 |
# File 'lib/v20190103/models.rb', line 14666 def InstanceType @InstanceType end |
#Memory ⇒ Object
14666 14667 14668 |
# File 'lib/v20190103/models.rb', line 14666 def Memory @Memory end |
#ResourceId ⇒ Object
14666 14667 14668 |
# File 'lib/v20190103/models.rb', line 14666 def ResourceId @ResourceId end |
Instance Method Details
#deserialize(params) ⇒ Object
14675 14676 14677 14678 14679 14680 |
# File 'lib/v20190103/models.rb', line 14675 def deserialize(params) @Memory = params['Memory'] @CPUCores = params['CPUCores'] @ResourceId = params['ResourceId'] @InstanceType = params['InstanceType'] end |