Record Class MoverPasswordEnvelope.Delivery

java.lang.Object
java.lang.Record
ecmwf.ecpds.mover.MoverPasswordEnvelope.Delivery
All Implemented Interfaces:
Serializable
Enclosing class:
MoverPasswordEnvelope

public static record MoverPasswordEnvelope.Delivery(long transferId, long fileId, long fileSize, String destination, String target, long localOffset, long remoteOffset, String endpointFingerprint, String hostConfiguration, MoverPasswordEnvelope.Operation operation, UUID credentialReference) extends Record implements Serializable
See Also:
  • Constructor Details

    • Delivery

      public Delivery(long transferId, long fileId, long fileSize, String destination, String target, long localOffset, long remoteOffset, String endpointFingerprint, String hostConfiguration, MoverPasswordEnvelope.Operation operation)
    • Delivery

      public Delivery(long transferId, long fileId, long fileSize, String destination, String target, long localOffset, long remoteOffset, String endpointFingerprint, String hostConfiguration, MoverPasswordEnvelope.Operation operation, UUID credentialReference)
      Creates an instance of a Delivery record class.
      Parameters:
      transferId - the value for the transferId record component
      fileId - the value for the fileId record component
      fileSize - the value for the fileSize record component
      destination - the value for the destination record component
      target - the value for the target record component
      localOffset - the value for the localOffset record component
      remoteOffset - the value for the remoteOffset record component
      endpointFingerprint - the value for the endpointFingerprint record component
      hostConfiguration - the value for the hostConfiguration record component
      operation - the value for the operation record component
      credentialReference - the value for the credentialReference record component
  • Method Details

    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • transferId

      public long transferId()
      Returns the value of the transferId record component.
      Returns:
      the value of the transferId record component
    • fileId

      public long fileId()
      Returns the value of the fileId record component.
      Returns:
      the value of the fileId record component
    • fileSize

      public long fileSize()
      Returns the value of the fileSize record component.
      Returns:
      the value of the fileSize record component
    • destination

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

      public String target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component
    • localOffset

      public long localOffset()
      Returns the value of the localOffset record component.
      Returns:
      the value of the localOffset record component
    • remoteOffset

      public long remoteOffset()
      Returns the value of the remoteOffset record component.
      Returns:
      the value of the remoteOffset record component
    • endpointFingerprint

      public String endpointFingerprint()
      Returns the value of the endpointFingerprint record component.
      Returns:
      the value of the endpointFingerprint record component
    • hostConfiguration

      public String hostConfiguration()
      Returns the value of the hostConfiguration record component.
      Returns:
      the value of the hostConfiguration record component
    • operation

      public MoverPasswordEnvelope.Operation operation()
      Returns the value of the operation record component.
      Returns:
      the value of the operation record component
    • credentialReference

      public UUID credentialReference()
      Returns the value of the credentialReference record component.
      Returns:
      the value of the credentialReference record component