public class ESConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected org.thales.punch.platform.api.pojo.Credentials |
credentials |
protected List<String> |
hosts |
protected String |
index |
protected String |
indexName |
protected String |
indexSuffixDatePattern |
protected String |
prefix |
protected List<String> |
settings
ES Hadoop settings passed to `elastic_input` in extraction template.
|
protected String |
sslCertificate |
protected Boolean |
sslEnabled |
protected Boolean |
sslHostnameVerification |
protected String |
sslPrivateKey |
protected String |
sslTrustedCertificate |
protected static String |
TYPE |
Constructor and Description |
---|
ESConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.thales.punch.platform.api.pojo.Credentials |
getCredentials() |
protected org.thales.punch.settings.api.ISettingsMap |
getCredentialsMap()
Build the settings map for reporter's credentials
|
List<String> |
getHosts() |
String |
getIndex() |
String |
getIndexName() |
String |
getIndexSuffixDatePattern() |
String |
getPrefix() |
org.thales.punch.settings.api.ISettingsMap |
getReporterSettings()
Build the IReporter object equivalent to this reporter conf
|
List<String> |
getSettings() |
String |
getSslCertificate() |
boolean |
getSslEnabled() |
Boolean |
getSslHostnameVerification() |
String |
getSslPrivateKey() |
String |
getSslTrustedCertificate() |
void |
setCredentials(org.thales.punch.platform.api.pojo.Credentials credentials) |
void |
setHosts(List<String> hosts) |
void |
setIndex(String index) |
void |
setIndexName(String indexName) |
void |
setIndexSuffixDatePattern(String indexSuffixDatePattern) |
void |
setPrefix(String prefix) |
void |
setSettings(List<String> settings) |
void |
setSslCertificate(String sslCertificate) |
void |
setSslEnabled(Boolean sslEnabled) |
void |
setSslHostnameVerification(Boolean sslHostnameVerification) |
void |
setSslPrivateKey(String sslPrivateKey) |
void |
setSslTrustedCertificate(String sslTrustedCertificate) |
protected static final String TYPE
protected String indexName
protected String index
protected String indexSuffixDatePattern
protected Boolean sslEnabled
protected org.thales.punch.platform.api.pojo.Credentials credentials
protected String sslPrivateKey
protected String sslCertificate
protected String sslTrustedCertificate
protected Boolean sslHostnameVerification
protected String prefix
public String getIndexName()
public void setIndexName(String indexName)
public String getIndex()
public void setIndex(String index)
public String getIndexSuffixDatePattern()
public void setIndexSuffixDatePattern(String indexSuffixDatePattern)
public boolean getSslEnabled()
public void setSslEnabled(Boolean sslEnabled)
public org.thales.punch.platform.api.pojo.Credentials getCredentials()
public void setCredentials(org.thales.punch.platform.api.pojo.Credentials credentials)
public String getSslPrivateKey()
public void setSslPrivateKey(String sslPrivateKey)
public String getSslCertificate()
public void setSslCertificate(String sslCertificate)
public String getSslTrustedCertificate()
public void setSslTrustedCertificate(String sslTrustedCertificate)
public Boolean getSslHostnameVerification()
public void setSslHostnameVerification(Boolean sslHostnameVerification)
public String getPrefix()
public void setPrefix(String prefix)
public org.thales.punch.settings.api.ISettingsMap getReporterSettings()
protected org.thales.punch.settings.api.ISettingsMap getCredentialsMap()
Copyright © 2023. All rights reserved.