Record Class HostEndpointVersion

java.lang.Object
java.lang.Record
smartrics.iotics.space.HostEndpointVersion

public record HostEndpointVersion(String space, String host, String portal, String interactionEngine, String collectionEngine) extends Record
  • Constructor Details

    • HostEndpointVersion

      public HostEndpointVersion(String space, String host, String portal, String interactionEngine, String collectionEngine)
      Creates an instance of a HostEndpointVersion record class.
      Parameters:
      space - the value for the space record component
      host - the value for the host record component
      portal - the value for the portal record component
      interactionEngine - the value for the interactionEngine record component
      collectionEngine - the value for the collectionEngine record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • space

      public String space()
      Returns the value of the space record component.
      Returns:
      the value of the space record component
    • host

      public String host()
      Returns the value of the host record component.
      Returns:
      the value of the host record component
    • portal

      public String portal()
      Returns the value of the portal record component.
      Returns:
      the value of the portal record component
    • interactionEngine

      public String interactionEngine()
      Returns the value of the interactionEngine record component.
      Returns:
      the value of the interactionEngine record component
    • collectionEngine

      public String collectionEngine()
      Returns the value of the collectionEngine record component.
      Returns:
      the value of the collectionEngine record component