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 Summary
ConstructorsConstructorDescriptionDelivery(long transferId, long fileId, long fileSize, String destination, String target, long localOffset, long remoteOffset, String endpointFingerprint, String hostConfiguration, MoverPasswordEnvelope.Operation operation) 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 aDeliveryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecredentialReferencerecord component.Returns the value of thedestinationrecord component.Returns the value of theendpointFingerprintrecord component.final booleanIndicates whether some other object is "equal to" this one.longfileId()Returns the value of thefileIdrecord component.longfileSize()Returns the value of thefileSizerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehostConfigurationrecord component.longReturns the value of thelocalOffsetrecord component.Returns the value of theoperationrecord component.longReturns the value of theremoteOffsetrecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetransferIdrecord component.
-
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 aDeliveryrecord class.- Parameters:
transferId- the value for thetransferIdrecord componentfileId- the value for thefileIdrecord componentfileSize- the value for thefileSizerecord componentdestination- the value for thedestinationrecord componenttarget- the value for thetargetrecord componentlocalOffset- the value for thelocalOffsetrecord componentremoteOffset- the value for theremoteOffsetrecord componentendpointFingerprint- the value for theendpointFingerprintrecord componenthostConfiguration- the value for thehostConfigurationrecord componentoperation- the value for theoperationrecord componentcredentialReference- the value for thecredentialReferencerecord component
-
-
Method Details
-
fingerprint
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
transferId
public long transferId()Returns the value of thetransferIdrecord component.- Returns:
- the value of the
transferIdrecord component
-
fileId
public long fileId()Returns the value of thefileIdrecord component.- Returns:
- the value of the
fileIdrecord component
-
fileSize
public long fileSize()Returns the value of thefileSizerecord component.- Returns:
- the value of the
fileSizerecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
localOffset
public long localOffset()Returns the value of thelocalOffsetrecord component.- Returns:
- the value of the
localOffsetrecord component
-
remoteOffset
public long remoteOffset()Returns the value of theremoteOffsetrecord component.- Returns:
- the value of the
remoteOffsetrecord component
-
endpointFingerprint
Returns the value of theendpointFingerprintrecord component.- Returns:
- the value of the
endpointFingerprintrecord component
-
hostConfiguration
Returns the value of thehostConfigurationrecord component.- Returns:
- the value of the
hostConfigurationrecord component
-
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
credentialReference
Returns the value of thecredentialReferencerecord component.- Returns:
- the value of the
credentialReferencerecord component
-