Record Class ConfigDataPropertiesHolder
java.lang.Object
java.lang.Record
org.springframework.cloud.kubernetes.commons.configdata.ConfigDataPropertiesHolder
public record ConfigDataPropertiesHolder(KubernetesClientProperties clientProperties, ConfigMapConfigProperties configMapProperties, SecretsConfigProperties secretsProperties)
extends Record
- Author:
- wind57
-
Constructor Summary
ConstructorsConstructorDescriptionConfigDataPropertiesHolder(KubernetesClientProperties clientProperties, ConfigMapConfigProperties configMapProperties, SecretsConfigProperties secretsProperties) Creates an instance of aConfigDataPropertiesHolderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientPropertiesrecord component.Returns the value of theconfigMapPropertiesrecord 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 thesecretsPropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigDataPropertiesHolder
public ConfigDataPropertiesHolder(KubernetesClientProperties clientProperties, ConfigMapConfigProperties configMapProperties, SecretsConfigProperties secretsProperties) Creates an instance of aConfigDataPropertiesHolderrecord class.- Parameters:
clientProperties- the value for theclientPropertiesrecord componentconfigMapProperties- the value for theconfigMapPropertiesrecord componentsecretsProperties- the value for thesecretsPropertiesrecord 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). -
clientProperties
Returns the value of theclientPropertiesrecord component.- Returns:
- the value of the
clientPropertiesrecord component
-
configMapProperties
Returns the value of theconfigMapPropertiesrecord component.- Returns:
- the value of the
configMapPropertiesrecord component
-
secretsProperties
Returns the value of thesecretsPropertiesrecord component.- Returns:
- the value of the
secretsPropertiesrecord component
-