Package io.camunda.connector.runtime
Record Class ConnectorProperties.SecretProvider
java.lang.Object
java.lang.Record
io.camunda.connector.runtime.ConnectorProperties.SecretProvider
- Enclosing class:
ConnectorProperties
public static record ConnectorProperties.SecretProvider(ConnectorProperties.Discovery discovery, ConnectorProperties.Environment environment, ConnectorProperties.ConsoleSecretProvider console)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSecretProvider(ConnectorProperties.Discovery discovery, ConnectorProperties.Environment environment, ConnectorProperties.ConsoleSecretProvider console) Creates an instance of aSecretProviderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionconsole()Returns the value of theconsolerecord component.Returns the value of thediscoveryrecord component.Returns the value of theenvironmentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SecretProvider
public SecretProvider(ConnectorProperties.Discovery discovery, ConnectorProperties.Environment environment, ConnectorProperties.ConsoleSecretProvider console) Creates an instance of aSecretProviderrecord class.- Parameters:
discovery- the value for thediscoveryrecord componentenvironment- the value for theenvironmentrecord componentconsole- the value for theconsolerecord 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). -
discovery
Returns the value of thediscoveryrecord component.- Returns:
- the value of the
discoveryrecord component
-
environment
Returns the value of theenvironmentrecord component.- Returns:
- the value of the
environmentrecord component
-
console
Returns the value of theconsolerecord component.- Returns:
- the value of the
consolerecord component
-