Record Class AtConfiguration
java.lang.Object
java.lang.Record
energy.eddie.regionconnector.at.eda.config.AtConfiguration
- Record Components:
eligiblePartyId- ID that will be used as the sender for all messages sent to EDA. This ID must be registered with EDA at ebUtilities.
@ConfigurationProperties("region-connector.at.eda")
public record AtConfiguration(String eligiblePartyId)
extends Record
The main configuration for the EDA region connector.
-
Constructor Summary
ConstructorsConstructorDescriptionAtConfiguration(String eligiblePartyId) Creates an instance of aAtConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeligiblePartyIdrecord 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
-
AtConfiguration
Creates an instance of aAtConfigurationrecord class.- Parameters:
eligiblePartyId- the value for theeligiblePartyIdrecord 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). -
eligiblePartyId
Returns the value of theeligiblePartyIdrecord component.- Returns:
- the value of the
eligiblePartyIdrecord component
-