Package com.io7m.certusine.api
Record Class CSDomain
java.lang.Object
java.lang.Record
com.io7m.certusine.api.CSDomain
- Record Components:
account- The acme accountdomain- The name used to refer to the domaincertificates- The list of certificatesdnsConfigurator- The DNS configurator for challengesoutputs- The certificate outputs
public record CSDomain(CSAccount account, String domain, Map<String,CSCertificate> certificates, CSDNSConfiguratorType dnsConfigurator, Map<String,CSCertificateOutputType> outputs)
extends Record
A domain.
-
Constructor Summary
ConstructorsConstructorDescriptionCSDomain(CSAccount account, String domain, Map<String, CSCertificate> certificates, CSDNSConfiguratorType dnsConfigurator, Map<String, CSCertificateOutputType> outputs) A domain. -
Method Summary
Modifier and TypeMethodDescriptionaccount()Returns the value of theaccountrecord component.Returns the value of thecertificatesrecord component.Returns the value of thednsConfiguratorrecord component.domain()Returns the value of thedomainrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.outputs()Returns the value of theoutputsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CSDomain
public CSDomain(CSAccount account, String domain, Map<String, CSCertificate> certificates, CSDNSConfiguratorType dnsConfigurator, Map<String, CSCertificateOutputType> outputs) A domain.- Parameters:
account- The acme accountdomain- The name used to refer to the domaincertificates- The list of certificatesdnsConfigurator- The DNS configurator for challengesoutputs- The certificate outputs
-
-
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). -
account
Returns the value of theaccountrecord component.- Returns:
- the value of the
accountrecord component
-
domain
Returns the value of thedomainrecord component.- Returns:
- the value of the
domainrecord component
-
certificates
Returns the value of thecertificatesrecord component.- Returns:
- the value of the
certificatesrecord component
-
dnsConfigurator
Returns the value of thednsConfiguratorrecord component.- Returns:
- the value of the
dnsConfiguratorrecord component
-
outputs
Returns the value of theoutputsrecord component.- Returns:
- the value of the
outputsrecord component
-