Record Class ServiceConfigurationDto
java.lang.Object
java.lang.Record
io.datarouter.instrumentation.serviceconfig.ServiceConfigurationDto
-
Constructor Summary
ConstructorsConstructorDescriptionServiceConfigurationDto(String serviceName, Set<String> administratorsEmails, Set<String> subscribers, String serviceDescription, String domain, String contextName, Map<String, String> serviceDocumentationNamesAndLinks) Creates an instance of aServiceConfigurationDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadministratorsEmailsrecord component.Returns the value of thecontextNamerecord 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.Returns the value of theserviceDescriptionrecord component.Returns the value of theserviceDocumentationNamesAndLinksrecord component.Returns the value of theserviceNamerecord component.Returns the value of thesubscribersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ServiceConfigurationDto
public ServiceConfigurationDto(String serviceName, Set<String> administratorsEmails, Set<String> subscribers, String serviceDescription, String domain, String contextName, Map<String, String> serviceDocumentationNamesAndLinks) Creates an instance of aServiceConfigurationDtorecord class.- Parameters:
serviceName- the value for theserviceNamerecord componentadministratorsEmails- the value for theadministratorsEmailsrecord componentsubscribers- the value for thesubscribersrecord componentserviceDescription- the value for theserviceDescriptionrecord componentdomain- the value for thedomainrecord componentcontextName- the value for thecontextNamerecord componentserviceDocumentationNamesAndLinks- the value for theserviceDocumentationNamesAndLinksrecord 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). -
serviceName
Returns the value of theserviceNamerecord component.- Returns:
- the value of the
serviceNamerecord component
-
administratorsEmails
Returns the value of theadministratorsEmailsrecord component.- Returns:
- the value of the
administratorsEmailsrecord component
-
subscribers
Returns the value of thesubscribersrecord component.- Returns:
- the value of the
subscribersrecord component
-
serviceDescription
Returns the value of theserviceDescriptionrecord component.- Returns:
- the value of the
serviceDescriptionrecord component
-
domain
Returns the value of thedomainrecord component.- Returns:
- the value of the
domainrecord component
-
contextName
Returns the value of thecontextNamerecord component.- Returns:
- the value of the
contextNamerecord component
-
serviceDocumentationNamesAndLinks
Returns the value of theserviceDocumentationNamesAndLinksrecord component.- Returns:
- the value of the
serviceDocumentationNamesAndLinksrecord component
-