Class Configuration
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.emr.v20190103.models.Configuration
-
public class Configuration extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description Configuration()Configuration(Configuration 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassification()Get 配置文件名,支持SPARK、HIVE、HDFS、YARN的部分配置文件自定义。StringgetProperties()Get 配置参数通过KV的形式传入,部分文件支持自定义,可以通过特殊的键"content"传入所有内容。voidsetClassification(String Classification)Set 配置文件名,支持SPARK、HIVE、HDFS、YARN的部分配置文件自定义。voidsetProperties(String Properties)Set 配置参数通过KV的形式传入,部分文件支持自定义,可以通过特殊的键"content"传入所有内容。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Configuration
public Configuration()
-
Configuration
public Configuration(Configuration 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.
-
-
Method Detail
-
getClassification
public String getClassification()
Get 配置文件名,支持SPARK、HIVE、HDFS、YARN的部分配置文件自定义。- Returns:
- Classification 配置文件名,支持SPARK、HIVE、HDFS、YARN的部分配置文件自定义。
-
setClassification
public void setClassification(String Classification)
Set 配置文件名,支持SPARK、HIVE、HDFS、YARN的部分配置文件自定义。- Parameters:
Classification- 配置文件名,支持SPARK、HIVE、HDFS、YARN的部分配置文件自定义。
-
getProperties
public String getProperties()
Get 配置参数通过KV的形式传入,部分文件支持自定义,可以通过特殊的键"content"传入所有内容。- Returns:
- Properties 配置参数通过KV的形式传入,部分文件支持自定义,可以通过特殊的键"content"传入所有内容。
-
setProperties
public void setProperties(String Properties)
Set 配置参数通过KV的形式传入,部分文件支持自定义,可以通过特殊的键"content"传入所有内容。- Parameters:
Properties- 配置参数通过KV的形式传入,部分文件支持自定义,可以通过特殊的键"content"传入所有内容。
-
-