Record Class PipelineCrawlerResource.PipelineCrawlPayload.JdbcPayload
java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.pipelinecrawl.PipelineCrawlerResource.PipelineCrawlPayload.JdbcPayload
- Record Components:
useExternalDb- when true, crawl an external database instead of the provisioned onejdbcUrl- the JDBC connection URLjdbcUsername- the JDBC usernamejdbcPassword- the JDBC passwordmaxDocuments- cap on documents to crawl; applied only when present and greater than zero
- Enclosing class:
PipelineCrawlerResource.PipelineCrawlPayload
public static record PipelineCrawlerResource.PipelineCrawlPayload.JdbcPayload(Boolean useExternalDb, String jdbcUrl, String jdbcUsername, String jdbcPassword, Integer maxDocuments)
extends Record
JDBC source payload. Only meaningful when the request source is "JDBC".
Unset fields leave the corresponding proto field at its default.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thejdbcPasswordrecord component.jdbcUrl()Returns the value of thejdbcUrlrecord component.Returns the value of thejdbcUsernamerecord component.Returns the value of themaxDocumentsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuseExternalDbrecord component.
-
Constructor Details
-
JdbcPayload
public JdbcPayload(Boolean useExternalDb, String jdbcUrl, String jdbcUsername, String jdbcPassword, Integer maxDocuments) Creates an instance of aJdbcPayloadrecord class.- Parameters:
useExternalDb- the value for theuseExternalDbrecord componentjdbcUrl- the value for thejdbcUrlrecord componentjdbcUsername- the value for thejdbcUsernamerecord componentjdbcPassword- the value for thejdbcPasswordrecord componentmaxDocuments- the value for themaxDocumentsrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
useExternalDb
Returns the value of theuseExternalDbrecord component.- Returns:
- the value of the
useExternalDbrecord component
-
jdbcUrl
-
jdbcUsername
Returns the value of thejdbcUsernamerecord component.- Returns:
- the value of the
jdbcUsernamerecord component
-
jdbcPassword
Returns the value of thejdbcPasswordrecord component.- Returns:
- the value of the
jdbcPasswordrecord component
-
maxDocuments
Returns the value of themaxDocumentsrecord component.- Returns:
- the value of the
maxDocumentsrecord component
-