Record Class KubernetesPropertyResolver.ConfigMapKeyRef
java.lang.Object
java.lang.Record
org.infosmid.stream.kubernetes.KubernetesPropertyResolver.ConfigMapKeyRef
- Enclosing class:
KubernetesPropertyResolver
-
Constructor Summary
ConstructorsConstructorDescriptionConfigMapKeyRef(String envVarName, String configMapName, String dataKey) Creates an instance of aConfigMapKeyRefrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigMapNamerecord component.dataKey()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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigMapKeyRef
Creates an instance of aConfigMapKeyRefrecord class.- Parameters:
envVarName- the value for theenvVarNamerecord componentconfigMapName- the value for theconfigMapNamerecord 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
-
configMapName
Returns the value of theconfigMapNamerecord component.- Returns:
- the value of the
configMapNamerecord component
-
dataKey
Returns the value of thedataKeyrecord component.- Returns:
- the value of the
dataKeyrecord component
-