Record Class HostPasswordRotationStore.ProbeHost

java.lang.Object
java.lang.Record
ecmwf.common.database.HostPasswordRotationStore.ProbeHost
Enclosing class:
HostPasswordRotationStore

public static record HostPasswordRotationStore.ProbeHost(String destination, String directory, String transferMethod, String moduleName, String moduleClass, String archive, String methodValue, String hostData) extends Record
  • Constructor Details

    • ProbeHost

      public ProbeHost(String destination, String directory, String transferMethod, String moduleName, String moduleClass, String archive, String methodValue, String hostData)
      Creates an instance of a ProbeHost record class.
      Parameters:
      destination - the value for the destination record component
      directory - the value for the directory record component
      transferMethod - the value for the transferMethod record component
      moduleName - the value for the moduleName record component
      moduleClass - the value for the moduleClass record component
      archive - the value for the archive record component
      methodValue - the value for the methodValue record component
      hostData - the value for the hostData record component
  • Method Details

    • of

      public static HostPasswordRotationStore.ProbeHost of(String destination, Host host)
    • fingerprint

      public String fingerprint()
    • 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.
    • destination

      public String destination()
      Returns the value of the destination record component.
      Returns:
      the value of the destination record component
    • directory

      public String directory()
      Returns the value of the directory record component.
      Returns:
      the value of the directory record component
    • transferMethod

      public String transferMethod()
      Returns the value of the transferMethod record component.
      Returns:
      the value of the transferMethod record component
    • moduleName

      public String moduleName()
      Returns the value of the moduleName record component.
      Returns:
      the value of the moduleName record component
    • moduleClass

      public String moduleClass()
      Returns the value of the moduleClass record component.
      Returns:
      the value of the moduleClass record component
    • archive

      public String archive()
      Returns the value of the archive record component.
      Returns:
      the value of the archive record component
    • methodValue

      public String methodValue()
      Returns the value of the methodValue record component.
      Returns:
      the value of the methodValue record component
    • hostData

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