public class ModifyHadoopDataSourceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
dataSourceDescription
example:
pxf for hdfs data source
|
String |
dataSourceId
The data source ID.
|
String |
dataSourceType
The type of the data source.
|
String |
DBInstanceId
This parameter is required.
|
String |
emrInstanceId
example:
c-1234567
|
String |
hadoopCoreConf
The content of the Hadoop core-site.xml file.
|
String |
hadoopCreateType
The type of the external service.
|
String |
hadoopHostsAddress
The IP address and hostname of the Hadoop cluster (data source) in the /etc/hosts file.
|
String |
HDFSConf
The content of the Hadoop hdfs-site.xml file.
|
String |
hiveConf
The content of the Hadoop hive-site.xml file.
|
String |
mapReduceConf
The content of the Hadoop mapred-site.xml file.
|
String |
regionId
The region ID.
|
String |
yarnConf
The content of the Hadoop yarn-site.xml file.
|
| 构造器和说明 |
|---|
ModifyHadoopDataSourceRequest() |
@NameInMap(value="DBInstanceId") public String DBInstanceId
This parameter is required.
example:gp-xxxxxxx
@NameInMap(value="DataSourceDescription") public String dataSourceDescription
pxf for hdfs data source
@NameInMap(value="DataSourceId") public String dataSourceId
The data source ID.
example:123
@NameInMap(value="DataSourceType") public String dataSourceType
The type of the data source. Valid values:
mysql
@NameInMap(value="EmrInstanceId") public String emrInstanceId
c-1234567
@NameInMap(value="HDFSConf") public String HDFSConf
The content of the Hadoop hdfs-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.
example:xxxxxx
@NameInMap(value="HadoopCoreConf") public String hadoopCoreConf
The content of the Hadoop core-site.xml file.
example:xxxxxx
@NameInMap(value="HadoopCreateType") public String hadoopCreateType
The type of the external service. Valid values:
emr
@NameInMap(value="HadoopHostsAddress") public String hadoopHostsAddress
The IP address and hostname of the Hadoop cluster (data source) in the /etc/hosts file.
example:127.0.0.1 localhost
@NameInMap(value="HiveConf") public String hiveConf
The content of the Hadoop hive-site.xml file. This parameter must be specified when DataSourceType is set to Hive.
example:xxxxxx
@NameInMap(value="MapReduceConf") public String mapReduceConf
The content of the Hadoop mapred-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.
example:@NameInMap(value="RegionId") public String regionId
The region ID.
example:You can call the DescribeRegions operation to query the most recent region list.
cn-hangzhou
@NameInMap(value="YarnConf") public String yarnConf
The content of the Hadoop yarn-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.
example:xxxxxx
public static ModifyHadoopDataSourceRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyHadoopDataSourceRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public ModifyHadoopDataSourceRequest setDataSourceDescription(String dataSourceDescription)
public String getDataSourceDescription()
public ModifyHadoopDataSourceRequest setDataSourceId(String dataSourceId)
public String getDataSourceId()
public ModifyHadoopDataSourceRequest setDataSourceType(String dataSourceType)
public String getDataSourceType()
public ModifyHadoopDataSourceRequest setEmrInstanceId(String emrInstanceId)
public String getEmrInstanceId()
public ModifyHadoopDataSourceRequest setHDFSConf(String HDFSConf)
public String getHDFSConf()
public ModifyHadoopDataSourceRequest setHadoopCoreConf(String hadoopCoreConf)
public String getHadoopCoreConf()
public ModifyHadoopDataSourceRequest setHadoopCreateType(String hadoopCreateType)
public String getHadoopCreateType()
public ModifyHadoopDataSourceRequest setHadoopHostsAddress(String hadoopHostsAddress)
public String getHadoopHostsAddress()
public ModifyHadoopDataSourceRequest setHiveConf(String hiveConf)
public String getHiveConf()
public ModifyHadoopDataSourceRequest setMapReduceConf(String mapReduceConf)
public String getMapReduceConf()
public ModifyHadoopDataSourceRequest setRegionId(String regionId)
public String getRegionId()
public ModifyHadoopDataSourceRequest setYarnConf(String yarnConf)
public String getYarnConf()
Copyright © 2024. All rights reserved.