Record Class HostPasswordRotationStore.LegacyCutover
java.lang.Object
java.lang.Record
ecmwf.common.database.HostPasswordRotationStore.LegacyCutover
- Enclosing class:
HostPasswordRotationStore
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyCutover(UUID id, UUID reference, String endpoint, String configuration, List<HostPasswordRotationStore.LegacyRoute> routes) Creates an instance of aLegacyCutoverrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationrecord component.endpoint()Returns the value of theendpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thereferencerecord component.routes()Returns the value of theroutesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LegacyCutover
public LegacyCutover(UUID id, UUID reference, String endpoint, String configuration, List<HostPasswordRotationStore.LegacyRoute> routes) Creates an instance of aLegacyCutoverrecord class.- Parameters:
id- the value for theidrecord componentreference- the value for thereferencerecord componentendpoint- the value for theendpointrecord componentconfiguration- the value for theconfigurationrecord componentroutes- the value for theroutesrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
reference
Returns the value of thereferencerecord component.- Returns:
- the value of the
referencerecord component
-
endpoint
Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
routes
Returns the value of theroutesrecord component.- Returns:
- the value of the
routesrecord component
-