Record Class HostPasswordRotationStore.Pending
java.lang.Object
java.lang.Record
ecmwf.common.database.HostPasswordRotationStore.Pending
- Enclosing class:
HostPasswordRotationStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedAtrecord 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 thereferencerecord component.longReturns the value of theretirementGraceSecondsrecord component.state()Returns the value of thestaterecord component.testedAt()Returns the value of thetestedAtrecord component.Returns the value of thetestedEndpointrecord component.Returns the value of thetestedHostConfigurationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Pending
public Pending(UUID reference, HostPasswordRotationStore.State state, Instant createdAt, String testedEndpoint, Instant testedAt, String testedHostConfiguration, long retirementGraceSeconds) Creates an instance of aPendingrecord class.- Parameters:
reference- the value for thereferencerecord componentstate- the value for thestaterecord componentcreatedAt- the value for thecreatedAtrecord componenttestedEndpoint- the value for thetestedEndpointrecord componenttestedAt- the value for thetestedAtrecord componenttestedHostConfiguration- the value for thetestedHostConfigurationrecord componentretirementGraceSeconds- the value for theretirementGraceSecondsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
reference
Returns the value of thereferencerecord component.- Returns:
- the value of the
referencerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
testedEndpoint
Returns the value of thetestedEndpointrecord component.- Returns:
- the value of the
testedEndpointrecord component
-
testedAt
Returns the value of thetestedAtrecord component.- Returns:
- the value of the
testedAtrecord component
-
testedHostConfiguration
Returns the value of thetestedHostConfigurationrecord component.- Returns:
- the value of the
testedHostConfigurationrecord component
-
retirementGraceSeconds
public long retirementGraceSeconds()Returns the value of theretirementGraceSecondsrecord component.- Returns:
- the value of the
retirementGraceSecondsrecord component
-