public class SessionResourceTemplate extends AbstractModel
header, skipSign
Constructor and Description |
---|
SessionResourceTemplate() |
SessionResourceTemplate(SessionResourceTemplate 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getDriverSize()
Get The driver size.
|
Long |
getExecutorMaxNumbers()
Get The maximum executor count (in dynamic mode).
|
Long |
getExecutorNums()
Get The executor count.
|
String |
getExecutorSize()
Get The executor size.
|
void |
setDriverSize(String DriverSize)
Set The driver size.
|
void |
setExecutorMaxNumbers(Long ExecutorMaxNumbers)
Set The maximum executor count (in dynamic mode).
|
void |
setExecutorNums(Long ExecutorNums)
Set The executor count.
|
void |
setExecutorSize(String ExecutorSize)
Set The executor size.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SessionResourceTemplate()
public SessionResourceTemplate(SessionResourceTemplate source)
public String getDriverSize()
public void setDriverSize(String DriverSize)
DriverSize
- The driver size.
Valid values for the standard resource type: `small`, `medium`, `large`, and `xlarge`.
Valid values for the memory resource type: `m.small`, `m.medium`, `m.large`, and `m.xlarge`.
Note: This field may return null, indicating that no valid values can be obtained.public String getExecutorSize()
public void setExecutorSize(String ExecutorSize)
ExecutorSize
- The executor size.
Valid values for the standard resource type: `small`, `medium`, `large`, and `xlarge`.
Valid values for the memory resource type: `m.small`, `m.medium`, `m.large`, and `m.xlarge`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getExecutorNums()
public void setExecutorNums(Long ExecutorNums)
ExecutorNums
- The executor count. The minimum value is 1 and the maximum value is less than the cluster specification.
Note: This field may return null, indicating that no valid values can be obtained.public Long getExecutorMaxNumbers()
public void setExecutorMaxNumbers(Long ExecutorMaxNumbers)
ExecutorMaxNumbers
- The maximum executor count (in dynamic mode). The minimum value is 1 and the maximum value is less than the cluster specification. If you set `ExecutorMaxNumbers` to a value smaller than that of `ExecutorNums`, the value of `ExecutorMaxNumbers` is automatically changed to that of `ExecutorNums`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.