Package org.techbd.orchestrate.sftp
Record Class SftpManager.IndividualTenantSftpEgressSession
java.lang.Object
java.lang.Record
org.techbd.orchestrate.sftp.SftpManager.IndividualTenantSftpEgressSession
- Enclosing class:
SftpManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncachedAt()
Returns the value of thecachedAt
record component.final boolean
Indicates whether some other object is "equal to" this one.error()
Returns the value of theerror
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thesessionFinalizedAt
record component.Returns the value of thesessionId
record component.Returns the value of thesessionJson
record component.Returns the value of thesessionJsonPath
record component.tenantId()
Returns the value of thetenantId
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
IndividualTenantSftpEgressSession
public IndividualTenantSftpEgressSession(String tenantId, String sessionId, Date cachedAt, String sessionJsonPath, String sessionJson, Date sessionFinalizedAt, Exception error) Creates an instance of aIndividualTenantSftpEgressSession
record class.- Parameters:
tenantId
- the value for thetenantId
record componentsessionId
- the value for thesessionId
record componentcachedAt
- the value for thecachedAt
record componentsessionJsonPath
- the value for thesessionJsonPath
record componentsessionJson
- the value for thesessionJson
record componentsessionFinalizedAt
- the value for thesessionFinalizedAt
record componenterror
- the value for theerror
record 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)
. -
tenantId
Returns the value of thetenantId
record component.- Returns:
- the value of the
tenantId
record component
-
sessionId
Returns the value of thesessionId
record component.- Returns:
- the value of the
sessionId
record component
-
cachedAt
Returns the value of thecachedAt
record component.- Returns:
- the value of the
cachedAt
record component
-
sessionJsonPath
Returns the value of thesessionJsonPath
record component.- Returns:
- the value of the
sessionJsonPath
record component
-
sessionJson
Returns the value of thesessionJson
record component.- Returns:
- the value of the
sessionJson
record component
-
sessionFinalizedAt
Returns the value of thesessionFinalizedAt
record component.- Returns:
- the value of the
sessionFinalizedAt
record component
-
error
Returns the value of theerror
record component.- Returns:
- the value of the
error
record component
-