Package smartrics.iotics.space
Record Class HostEndpoints
java.lang.Object
java.lang.Record
smartrics.iotics.space.HostEndpoints
-
Constructor Summary
ConstructorsConstructorDescriptionHostEndpoints(String resolver, String stomp, String qapi, String grpc, String grpcWeb, HostEndpointVersion version) Creates an instance of aHostEndpointsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.grpc()Returns the value of thegrpcrecord component.grpcWeb()Returns the value of thegrpcWebrecord component.final inthashCode()Returns a hash code value for this object.qapi()Returns the value of theqapirecord component.resolver()Returns the value of theresolverrecord component.stomp()Returns the value of thestomprecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
HostEndpoints
public HostEndpoints(String resolver, String stomp, String qapi, String grpc, String grpcWeb, HostEndpointVersion version) Creates an instance of aHostEndpointsrecord class.- Parameters:
resolver- the value for theresolverrecord componentstomp- the value for thestomprecord componentqapi- the value for theqapirecord componentgrpc- the value for thegrpcrecord componentgrpcWeb- the value for thegrpcWebrecord componentversion- the value for theversionrecord 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). -
resolver
Returns the value of theresolverrecord component.- Returns:
- the value of the
resolverrecord component
-
stomp
Returns the value of thestomprecord component.- Returns:
- the value of the
stomprecord component
-
qapi
Returns the value of theqapirecord component.- Returns:
- the value of the
qapirecord component
-
grpc
Returns the value of thegrpcrecord component.- Returns:
- the value of the
grpcrecord component
-
grpcWeb
Returns the value of thegrpcWebrecord component.- Returns:
- the value of the
grpcWebrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-