Record Class CSHetznerDNSRecord
java.lang.Object
java.lang.Record
com.io7m.certusine.hetzner.internal.CSHetznerDNSRecord
- Record Components:
zoneId- The zone IDid- The record IDtype- The typename- The namerecords- The record valuesttl- The time-to-live
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.name()Returns the value of thenamerecord component.List<com.io7m.certusine.hetzner.internal.CSHetznerRecordValue> records()Returns the value of therecordsrecord component.final StringtoString()Returns a string representation of this record class.intttl()Returns the value of thettlrecord component.type()Returns the value of thetyperecord component.zoneId()Returns the value of thezoneIdrecord component.
-
Constructor Details
-
CSHetznerDNSRecord
public CSHetznerDNSRecord(String zoneId, Optional<String> id, String type, String name, List<com.io7m.certusine.hetzner.internal.CSHetznerRecordValue> records, int ttl) The Hetzner DNS record.- Parameters:
zoneId- The zone IDid- The record IDtype- The typename- The namerecords- The recordsttl- The time-to-live- See Also:
-
-
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. -
zoneId
-
id
-
type
-
name
-
records
-
ttl
-