Package com.io7m.certusine.api
Record Class CSDNSRecordNameType.CSDNSRecordNameRelative
java.lang.Object
java.lang.Record
com.io7m.certusine.api.CSDNSRecordNameType.CSDNSRecordNameRelative
- Record Components:
name- The name
- All Implemented Interfaces:
CSDNSRecordNameType
- Enclosing interface:
- CSDNSRecordNameType
public static record CSDNSRecordNameType.CSDNSRecordNameRelative(String name)
extends Record
implements CSDNSRecordNameType
A relative record name (does not end with '.').
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.certusine.api.CSDNSRecordNameType
CSDNSRecordNameType.CSDNSRecordNameAbsolute, CSDNSRecordNameType.CSDNSRecordNameRelative -
Constructor Summary
ConstructorsConstructorDescriptionA relative record name (does not end with '.'). -
Method Summary
-
Constructor Details
-
CSDNSRecordNameRelative
A relative record name (does not end with '.').
-
-
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). -
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceCSDNSRecordNameType- Returns:
- the value of the
namerecord component
-