Package ch.so.agi.gretl.internal.s3
Record Class S3BucketCopyRequest
java.lang.Object
java.lang.Record
ch.so.agi.gretl.internal.s3.S3BucketCopyRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccessKeyrecord component.acl()Returns the value of theaclrecord component.endpoint()Returns the value of theendpointrecord 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.region()Returns the value of theregionrecord component.Returns the value of thesecretKeyrecord component.Returns the value of thesourceBucketrecord component.Returns the value of thetargetBucketrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
S3BucketCopyRequest
public S3BucketCopyRequest(String accessKey, String secretKey, String sourceBucket, String targetBucket, String endpoint, String region, String acl, Map<String, String> metadata) Creates an instance of aS3BucketCopyRequestrecord class.- Parameters:
accessKey- the value for theaccessKeyrecord componentsecretKey- the value for thesecretKeyrecord componentsourceBucket- the value for thesourceBucketrecord componenttargetBucket- the value for thetargetBucketrecord componentendpoint- the value for theendpointrecord componentregion- the value for theregionrecord componentacl- the value for theaclrecord 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). -
accessKey
Returns the value of theaccessKeyrecord component.- Returns:
- the value of the
accessKeyrecord component
-
secretKey
Returns the value of thesecretKeyrecord component.- Returns:
- the value of the
secretKeyrecord component
-
sourceBucket
Returns the value of thesourceBucketrecord component.- Returns:
- the value of the
sourceBucketrecord component
-
targetBucket
Returns the value of thetargetBucketrecord component.- Returns:
- the value of the
targetBucketrecord component
-
endpoint
Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-
acl
Returns the value of theaclrecord component.- Returns:
- the value of the
aclrecord component
-
metadata
Returns the value of themetadatarecord component.- Returns:
- the value of the
metadatarecord component
-