Record Class ESReporterConfig
java.lang.Object
java.lang.Record
org.apache.tika.pipes.reporter.es.ESReporterConfig
-
Constructor Summary
ConstructorsConstructorDescriptionESReporterConfig(String esUrl, Set<String> includes, Set<String> excludes, String keyPrefix, boolean includeRouting, String apiKey, HttpClientConfig httpClientConfig) Creates an instance of aESReporterConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapiKey()Returns the value of theapiKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.esUrl()Returns the value of theesUrlrecord component.excludes()Returns the value of theexcludesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehttpClientConfigrecord component.booleanReturns the value of theincludeRoutingrecord component.includes()Returns the value of theincludesrecord component.Returns the value of thekeyPrefixrecord component.static ESReporterConfigfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ESReporterConfig
public ESReporterConfig(String esUrl, Set<String> includes, Set<String> excludes, String keyPrefix, boolean includeRouting, String apiKey, HttpClientConfig httpClientConfig) Creates an instance of aESReporterConfigrecord class.- Parameters:
esUrl- the value for theesUrlrecord componentincludes- the value for theincludesrecord componentexcludes- the value for theexcludesrecord componentkeyPrefix- the value for thekeyPrefixrecord componentincludeRouting- the value for theincludeRoutingrecord componentapiKey- the value for theapiKeyrecord componenthttpClientConfig- the value for thehttpClientConfigrecord component
-
-
Method Details
-
load
- Throws:
TikaConfigException
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
esUrl
Returns the value of theesUrlrecord component.- Returns:
- the value of the
esUrlrecord component
-
includes
-
excludes
-
keyPrefix
Returns the value of thekeyPrefixrecord component.- Returns:
- the value of the
keyPrefixrecord component
-
includeRouting
public boolean includeRouting()Returns the value of theincludeRoutingrecord component.- Returns:
- the value of the
includeRoutingrecord component
-
apiKey
Returns the value of theapiKeyrecord component.- Returns:
- the value of the
apiKeyrecord component
-
httpClientConfig
Returns the value of thehttpClientConfigrecord component.- Returns:
- the value of the
httpClientConfigrecord component
-