@InterfaceAudience.Public @InterfaceStability.Unstable @Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2016-06-02T08:15:05.615-07:00") public class ConfigFile extends Object implements Serializable
Constructor and Description |
---|
ConfigFile() |
Modifier and Type | Method and Description |
---|---|
ConfigFile |
copy() |
ConfigFile |
destFile(String destFile)
The absolute path that this configuration file should be mounted as, in the
service container.
|
boolean |
equals(Object o) |
boolean |
getBoolean(String name,
boolean defaultValue) |
String |
getDestFile() |
long |
getLong(String name,
long defaultValue) |
Map<String,String> |
getProperties() |
String |
getSrcFile() |
org.apache.hadoop.yarn.service.api.records.ConfigFile.TypeEnum |
getType() |
int |
hashCode() |
ConfigFile |
properties(Map<String,String> properties)
A blob of key value pairs that will be dumped in the dest_file in the format
as specified in type.
|
void |
setDestFile(String destFile) |
void |
setProperties(Map<String,String> properties) |
void |
setSrcFile(String srcFile) |
void |
setType(org.apache.hadoop.yarn.service.api.records.ConfigFile.TypeEnum type) |
ConfigFile |
srcFile(String srcFile)
This provides the source location of the configuration file, the content
of which is dumped to dest_file post property substitutions, in the format
as specified in type.
|
String |
toString() |
ConfigFile |
type(org.apache.hadoop.yarn.service.api.records.ConfigFile.TypeEnum type)
Config file in the standard format like xml, properties, json, yaml,
template.
|
public ConfigFile copy()
public ConfigFile type(org.apache.hadoop.yarn.service.api.records.ConfigFile.TypeEnum type)
public org.apache.hadoop.yarn.service.api.records.ConfigFile.TypeEnum getType()
public void setType(org.apache.hadoop.yarn.service.api.records.ConfigFile.TypeEnum type)
public ConfigFile destFile(String destFile)
public String getDestFile()
public void setDestFile(String destFile)
public ConfigFile srcFile(String srcFile)
public String getSrcFile()
public void setSrcFile(String srcFile)
public ConfigFile properties(Map<String,String> properties)
public long getLong(String name, long defaultValue)
public boolean getBoolean(String name, boolean defaultValue)
Copyright © 2018 Apache Software Foundation. All rights reserved.