Package ch.so.agi.gretl.internal.s3
Record Class S3UploadRequest
java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.s3.S3UploadRequest
-
Constructor Summary
ConstructorsConstructorDescriptionS3UploadRequest(S3ConnectionSpec connection, List<Path> sourceFiles, String acl, String contentType, Map<String, String> metadata) Creates an instance of aS3UploadRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionacl()Returns the value of theaclrecord component.Returns the value of theconnectionrecord component.Returns the value of thecontentTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.Returns the value of thesourceFilesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
S3UploadRequest
public S3UploadRequest(S3ConnectionSpec connection, List<Path> sourceFiles, String acl, String contentType, Map<String, String> metadata) Creates an instance of aS3UploadRequestrecord class.- Parameters:
connection- the value for theconnectionrecord componentsourceFiles- the value for thesourceFilesrecord componentacl- the value for theaclrecord componentcontentType- the value for thecontentTyperecord componentmetadata- the value for themetadatarecord 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). -
connection
Returns the value of theconnectionrecord component.- Returns:
- the value of the
connectionrecord component
-
sourceFiles
Returns the value of thesourceFilesrecord component.- Returns:
- the value of the
sourceFilesrecord component
-
acl
Returns the value of theaclrecord component.- Returns:
- the value of the
aclrecord component
-
contentType
Returns the value of thecontentTyperecord component.- Returns:
- the value of the
contentTyperecord component
-
metadata
Returns the value of themetadatarecord component.- Returns:
- the value of the
metadatarecord component
-