com.ionoscloud.s3.UploadPartResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ionos-cloud-sdk-s3 Show documentation
Show all versions of ionos-cloud-sdk-s3 Show documentation
IONOS Java SDK for Amazon S3 Compatible Cloud Storage
The newest version!
package com.ionoscloud.s3;
import okhttp3.Headers;
/** Response class of {@link S3Base#uploadPartAsync}. */
public class UploadPartResponse extends GenericResponse {
private String uploadId;
private int partNumber;
private String etag;
public UploadPartResponse(
Headers headers,
String bucket,
String region,
String object,
String uploadId,
int partNumber,
String etag) {
super(headers, bucket, region, object);
this.uploadId = uploadId;
this.partNumber = partNumber;
this.etag = etag;
}
public String uploadId() {
return uploadId;
}
public int partNumber() {
return partNumber;
}
public String etag() {
return etag;
}
}