Package org.openmetadata.service.secrets
Record Class SecretsManager.SecretsIdConfig
java.lang.Object
java.lang.Record
org.openmetadata.service.secrets.SecretsManager.SecretsIdConfig
- Enclosing class:
- SecretsManager
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSecretsIdConfig(String separator, Boolean needsStartingSeparator, String cleanSecretReplacer, Pattern secretIdPattern) Creates an instance of aSecretsIdConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecleanSecretReplacerrecord 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 theneedsStartingSeparatorrecord component.Returns the value of thesecretIdPatternrecord component.Returns the value of theseparatorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SecretsIdConfig
protected SecretsIdConfig(String separator, Boolean needsStartingSeparator, String cleanSecretReplacer, Pattern secretIdPattern) Creates an instance of aSecretsIdConfigrecord class.- Parameters:
separator- the value for theseparatorrecord componentneedsStartingSeparator- the value for theneedsStartingSeparatorrecord componentcleanSecretReplacer- the value for thecleanSecretReplacerrecord componentsecretIdPattern- the value for thesecretIdPatternrecord 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). -
separator
Returns the value of theseparatorrecord component.- Returns:
- the value of the
separatorrecord component
-
needsStartingSeparator
Returns the value of theneedsStartingSeparatorrecord component.- Returns:
- the value of the
needsStartingSeparatorrecord component
-
cleanSecretReplacer
Returns the value of thecleanSecretReplacerrecord component.- Returns:
- the value of the
cleanSecretReplacerrecord component
-
secretIdPattern
Returns the value of thesecretIdPatternrecord component.- Returns:
- the value of the
secretIdPatternrecord component
-