public class CreateHadoopDataSourceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
dataSourceDescription
example:
pxf for hdfs data source
|
String |
dataSourceName
example:
hdfs_pxf
|
String |
dataSourceType
example:
HDFS
|
String |
DBInstanceId
This parameter is required.
|
String |
emrInstanceId
example:
c-1234567
|
String |
hadoopCoreConf
The string that specifies the content of the Hadoop core-site.xml file.
|
String |
hadoopCreateType
example:
emr
|
String |
hadoopHostsAddress
The IP address and hostname of the Hadoop cluster (data source) in the /etc/hosts file.
|
String |
HDFSConf
The string that specifies the content of the Hadoop hdfs-site.xml file.
|
String |
hiveConf
The string that specifies the content of the Hadoop hive-site.xml file.
|
String |
mapReduceConf
example:
xxxxxx
|
String |
regionId
The region ID.
|
String |
yarnConf
The string that specifies the content of the Hadoop yarn-site.xml file.
|
| 构造器和说明 |
|---|
CreateHadoopDataSourceRequest() |
@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="DataSourceName") public String dataSourceName
hdfs_pxf
@NameInMap(value="DataSourceType") public String dataSourceType
HDFS
@NameInMap(value="EmrInstanceId") public String emrInstanceId
c-1234567
@NameInMap(value="HDFSConf") public String HDFSConf
The string that specifies 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 string that specifies the content of the Hadoop core-site.xml file.
example:xxxxxx
@NameInMap(value="HadoopCreateType") public String hadoopCreateType
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 string that specifies 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
xxxxxx
@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 string that specifies the content of the Hadoop yarn-site.xml file. This parameter must be specified when DataSourceType is set to HDFS.
example:xxxxxx
public static CreateHadoopDataSourceRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateHadoopDataSourceRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public CreateHadoopDataSourceRequest setDataSourceDescription(String dataSourceDescription)
public String getDataSourceDescription()
public CreateHadoopDataSourceRequest setDataSourceName(String dataSourceName)
public String getDataSourceName()
public CreateHadoopDataSourceRequest setDataSourceType(String dataSourceType)
public String getDataSourceType()
public CreateHadoopDataSourceRequest setEmrInstanceId(String emrInstanceId)
public String getEmrInstanceId()
public CreateHadoopDataSourceRequest setHDFSConf(String HDFSConf)
public String getHDFSConf()
public CreateHadoopDataSourceRequest setHadoopCoreConf(String hadoopCoreConf)
public String getHadoopCoreConf()
public CreateHadoopDataSourceRequest setHadoopCreateType(String hadoopCreateType)
public String getHadoopCreateType()
public CreateHadoopDataSourceRequest setHadoopHostsAddress(String hadoopHostsAddress)
public String getHadoopHostsAddress()
public CreateHadoopDataSourceRequest setHiveConf(String hiveConf)
public String getHiveConf()
public CreateHadoopDataSourceRequest setMapReduceConf(String mapReduceConf)
public String getMapReduceConf()
public CreateHadoopDataSourceRequest setRegionId(String regionId)
public String getRegionId()
public CreateHadoopDataSourceRequest setYarnConf(String yarnConf)
public String getYarnConf()
Copyright © 2024. All rights reserved.