Package org.graylog.security.certutil
Record Class CertRenewalService.DataNode
java.lang.Object
java.lang.Record
org.graylog.security.certutil.CertRenewalService.DataNode
- Enclosing interface:
- CertRenewalService
public static record CertRenewalService.DataNode(String nodeId, Node.Type type, String transportAddress, DataNodeProvisioningConfig.State status, String errorMsg, String hostname, String shortNodeId, LocalDateTime certValidUntil)
extends Record
-
Constructor Summary
ConstructorDescriptionDataNode
(String nodeId, Node.Type type, String transportAddress, DataNodeProvisioningConfig.State status, String errorMsg, String hostname, String shortNodeId, LocalDateTime certValidUntil) Creates an instance of aDataNode
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecertValidUntil
record component.final boolean
Indicates whether some other object is "equal to" this one.errorMsg()
Returns the value of theerrorMsg
record component.final int
hashCode()
Returns a hash code value for this object.hostname()
Returns the value of thehostname
record component.nodeId()
Returns the value of thenodeId
record component.Returns the value of theshortNodeId
record component.status()
Returns the value of thestatus
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetransportAddress
record component.type()
Returns the value of thetype
record component.
-
Constructor Details
-
DataNode
public DataNode(String nodeId, Node.Type type, String transportAddress, DataNodeProvisioningConfig.State status, String errorMsg, String hostname, String shortNodeId, LocalDateTime certValidUntil) Creates an instance of aDataNode
record class.- Parameters:
nodeId
- the value for thenodeId
record componenttype
- the value for thetype
record componenttransportAddress
- the value for thetransportAddress
record componentstatus
- the value for thestatus
record componenterrorMsg
- the value for theerrorMsg
record componenthostname
- the value for thehostname
record componentshortNodeId
- the value for theshortNodeId
record componentcertValidUntil
- the value for thecertValidUntil
record 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)
. -
nodeId
Returns the value of thenodeId
record component.- Returns:
- the value of the
nodeId
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
transportAddress
Returns the value of thetransportAddress
record component.- Returns:
- the value of the
transportAddress
record component
-
status
Returns the value of thestatus
record component.- Returns:
- the value of the
status
record component
-
errorMsg
Returns the value of theerrorMsg
record component.- Returns:
- the value of the
errorMsg
record component
-
hostname
Returns the value of thehostname
record component.- Returns:
- the value of the
hostname
record component
-
shortNodeId
Returns the value of theshortNodeId
record component.- Returns:
- the value of the
shortNodeId
record component
-
certValidUntil
Returns the value of thecertValidUntil
record component.- Returns:
- the value of the
certValidUntil
record component
-