Package io.camunda.connector.runtime
Record Class ConnectorProperties
java.lang.Object
java.lang.Record
io.camunda.connector.runtime.ConnectorProperties
@ConfigurationProperties(prefix="camunda.connector")
public record ConnectorProperties(ConnectorProperties.Polling polling, ConnectorProperties.Webhook webhook, ConnectorProperties.SecretProvider secretProvider)
extends Record
Configuration properties for Camunda Connectors.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordConfiguration for the secret provider lookupstatic final recordConfiguration for theEnvironmentbased secret providerstatic final recordConfiguration for Operate polling that enables inbound Connectors.static final recordstatic final recordConfiguration for the inbound webhook connector. -
Constructor Summary
ConstructorsConstructorDescriptionConnectorProperties(ConnectorProperties.Polling polling, ConnectorProperties.Webhook webhook, ConnectorProperties.SecretProvider secretProvider) Creates an instance of aConnectorPropertiesrecord class. -
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.polling()Returns the value of thepollingrecord component.Returns the value of thesecretProviderrecord component.final StringtoString()Returns a string representation of this record class.webhook()Returns the value of thewebhookrecord component.
-
Constructor Details
-
ConnectorProperties
public ConnectorProperties(ConnectorProperties.Polling polling, ConnectorProperties.Webhook webhook, ConnectorProperties.SecretProvider secretProvider) Creates an instance of aConnectorPropertiesrecord class.- Parameters:
polling- the value for thepollingrecord componentwebhook- the value for thewebhookrecord componentsecretProvider- the value for thesecretProviderrecord 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). -
polling
Returns the value of thepollingrecord component.- Returns:
- the value of the
pollingrecord component
-
webhook
Returns the value of thewebhookrecord component.- Returns:
- the value of the
webhookrecord component
-
secretProvider
Returns the value of thesecretProviderrecord component.- Returns:
- the value of the
secretProviderrecord component
-