Record Class CS1Domain
java.lang.Object
java.lang.Record
com.io7m.certusine.vanilla.internal.dto.CS1Domain
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccount()Returns the value of theaccountrecord component.Returns the value of thecertificatesrecord component.Returns the value of thednsConfiguratorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.outputs()Returns the value of theoutputsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CS1Domain
public CS1Domain(String name, String account, List<CS1Certificate> certificates, List<String> outputs, String dnsConfigurator) Creates an instance of aCS1Domainrecord class.- Parameters:
name- the value for thenamerecord componentaccount- the value for theaccountrecord componentcertificates- the value for thecertificatesrecord componentoutputs- the value for theoutputsrecord componentdnsConfigurator- the value for thednsConfiguratorrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
account
Returns the value of theaccountrecord component.- Returns:
- the value of the
accountrecord component
-
certificates
Returns the value of thecertificatesrecord component.- Returns:
- the value of the
certificatesrecord component
-
outputs
Returns the value of theoutputsrecord component.- Returns:
- the value of the
outputsrecord component
-
dnsConfigurator
Returns the value of thednsConfiguratorrecord component.- Returns:
- the value of the
dnsConfiguratorrecord component
-