All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.hana.datalake.files.directaccess.s3.S3UploadSignedUrl Maven / Gradle / Ivy

Go to download

An implementation of org.apache.hadoop.fs.FileSystem targeting SAP HANA Data Lake Files.

There is a newer version: 3.0.27
Show newest version
// © 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