com.ionoscloud.s3.ServerSideEncryption 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 java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/** Base class of server-side encryption. */
public abstract class ServerSideEncryption {
private static final Map emptyHeaders =
Collections.unmodifiableMap(new HashMap<>());
public abstract Map headers();
public boolean tlsRequired() {
return true;
}
public Map copySourceHeaders() {
return emptyHeaders;
}
}