Record Class CS1Configuration
java.lang.Object
java.lang.Record
com.io7m.certusine.vanilla.internal.dto.CS1Configuration
public record CS1Configuration(String schema, CS1Options options, List<CS1Account> accounts, List<CS1Output> outputs, List<CS1DNSConfigurator> dnsConfigurators, List<CS1Domain> domains)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCS1Configuration(String schema, CS1Options options, List<CS1Account> accounts, List<CS1Output> outputs, List<CS1DNSConfigurator> dnsConfigurators, List<CS1Domain> domains) Creates an instance of aCS1Configurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccounts()Returns the value of theaccountsrecord component.Returns the value of thednsConfiguratorsrecord component.domains()Returns the value of thedomainsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.options()Returns the value of theoptionsrecord component.outputs()Returns the value of theoutputsrecord component.schema()Returns the value of theschemarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CS1Configuration
public CS1Configuration(String schema, CS1Options options, List<CS1Account> accounts, List<CS1Output> outputs, List<CS1DNSConfigurator> dnsConfigurators, List<CS1Domain> domains) Creates an instance of aCS1Configurationrecord class.- Parameters:
schema- the value for theschemarecord componentoptions- the value for theoptionsrecord componentaccounts- the value for theaccountsrecord componentoutputs- the value for theoutputsrecord componentdnsConfigurators- the value for thednsConfiguratorsrecord componentdomains- the value for thedomainsrecord 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). -
schema
Returns the value of theschemarecord component.- Returns:
- the value of the
schemarecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
accounts
Returns the value of theaccountsrecord component.- Returns:
- the value of the
accountsrecord component
-
outputs
Returns the value of theoutputsrecord component.- Returns:
- the value of the
outputsrecord component
-
dnsConfigurators
Returns the value of thednsConfiguratorsrecord component.- Returns:
- the value of the
dnsConfiguratorsrecord component
-
domains
Returns the value of thedomainsrecord component.- Returns:
- the value of the
domainsrecord component
-