Package io.camunda.document.api
Record Class DocumentStoreConfiguration
java.lang.Object
java.lang.Record
io.camunda.document.api.DocumentStoreConfiguration
public record DocumentStoreConfiguration(String defaultDocumentStoreId, Integer threadPoolSize, List<DocumentStoreConfiguration.DocumentStoreConfigurationRecord> documentStores)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionDocumentStoreConfiguration(String defaultDocumentStoreId, Integer threadPoolSize, List<DocumentStoreConfiguration.DocumentStoreConfigurationRecord> documentStores) Creates an instance of aDocumentStoreConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultDocumentStoreIdrecord component.Returns the value of thedocumentStoresrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thethreadPoolSizerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DocumentStoreConfiguration
public DocumentStoreConfiguration(String defaultDocumentStoreId, Integer threadPoolSize, List<DocumentStoreConfiguration.DocumentStoreConfigurationRecord> documentStores) Creates an instance of aDocumentStoreConfigurationrecord class.- Parameters:
defaultDocumentStoreId- the value for thedefaultDocumentStoreIdrecord componentthreadPoolSize- the value for thethreadPoolSizerecord componentdocumentStores- the value for thedocumentStoresrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
defaultDocumentStoreId
Returns the value of thedefaultDocumentStoreIdrecord component.- Returns:
- the value of the
defaultDocumentStoreIdrecord component
-
threadPoolSize
Returns the value of thethreadPoolSizerecord component.- Returns:
- the value of the
threadPoolSizerecord component
-
documentStores
Returns the value of thedocumentStoresrecord component.- Returns:
- the value of the
documentStoresrecord component
-