Package ru.tinkoff.kora.s3.client.aws
Record Class AwsS3ObjectUpload
java.lang.Object
java.lang.Record
ru.tinkoff.kora.s3.client.aws.AwsS3ObjectUpload
- All Implemented Interfaces:
ru.tinkoff.kora.s3.client.model.S3ObjectUpload
-
Constructor Summary
ConstructorsConstructorDescriptionAwsS3ObjectUpload(String versionId, software.amazon.awssdk.services.s3.model.PutObjectResponse response) Creates an instance of aAwsS3ObjectUploadrecord class.AwsS3ObjectUpload(software.amazon.awssdk.services.s3.model.PutObjectResponse response) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.software.amazon.awssdk.services.s3.model.PutObjectResponseresponse()Returns the value of theresponserecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theversionIdrecord component.
-
Constructor Details
-
AwsS3ObjectUpload
public AwsS3ObjectUpload(software.amazon.awssdk.services.s3.model.PutObjectResponse response) -
AwsS3ObjectUpload
public AwsS3ObjectUpload(String versionId, software.amazon.awssdk.services.s3.model.PutObjectResponse response) Creates an instance of aAwsS3ObjectUploadrecord class.- Parameters:
versionId- the value for theversionIdrecord componentresponse- the value for theresponserecord 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). -
versionId
Returns the value of theversionIdrecord component.- Specified by:
versionIdin interfaceru.tinkoff.kora.s3.client.model.S3ObjectUpload- Returns:
- the value of the
versionIdrecord component
-
response
public software.amazon.awssdk.services.s3.model.PutObjectResponse response()Returns the value of theresponserecord component.- Returns:
- the value of the
responserecord component
-