com.sap.hana.datalake.files.directaccess.s3.S3UploadSignedUrl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sap-hdlfs Show documentation
Show all versions of sap-hdlfs Show documentation
An implementation of org.apache.hadoop.fs.FileSystem targeting SAP HANA Data Lake Files.
// © 2024 SAP SE or an SAP affiliate company. All rights reserved.
package com.sap.hana.datalake.files.directaccess.s3;
import com.sap.hana.datalake.files.HdlfsFileSystemCapabilities;
/* package-private */ class S3UploadSignedUrl extends S3SignedUrl {
private final String chunkId;
/* package-private */ static S3UploadSignedUrl from(final HdlfsFileSystemCapabilities.DirectAccessSignedUrl directAccessSignedUrl,
final int expirationSafetyMarginSeconds,
final String chunkId) {
return new S3UploadSignedUrl(directAccessSignedUrl, expirationSafetyMarginSeconds, chunkId);
}
private S3UploadSignedUrl(final HdlfsFileSystemCapabilities.DirectAccessSignedUrl directAccessSignedUrl,
final int expirationSafetyMarginSeconds,
final String chunkId) {
super(directAccessSignedUrl, expirationSafetyMarginSeconds);
this.chunkId = chunkId;
}
public String getChunkId() {
return this.chunkId;
}
}
// © 2024 SAP SE or an SAP affiliate company. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy