Record Class KubernetesPropertyResolver.SecretKeyRef
java.lang.Object
java.lang.Record
org.infosmid.stream.kubernetes.KubernetesPropertyResolver.SecretKeyRef
- Enclosing class:
KubernetesPropertyResolver
-
Constructor Summary
ConstructorsConstructorDescriptionSecretKeyRef(String envVarName, String secretName, String dataKey) Creates an instance of aSecretKeyRefrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondataKey()Returns the value of thedataKeyrecord component.Returns the value of theenvVarNamerecord 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 thesecretNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SecretKeyRef
Creates an instance of aSecretKeyRefrecord class.- Parameters:
envVarName- the value for theenvVarNamerecord componentsecretName- the value for thesecretNamerecord componentdataKey- the value for thedataKeyrecord 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). -
envVarName
Returns the value of theenvVarNamerecord component.- Returns:
- the value of the
envVarNamerecord component
-
secretName
Returns the value of thesecretNamerecord component.- Returns:
- the value of the
secretNamerecord component
-
dataKey
Returns the value of thedataKeyrecord component.- Returns:
- the value of the
dataKeyrecord component
-