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

io.kestra.plugin.aws.s3.AbstractS3Object Maven / Gradle / Ivy

The newest version!
package io.kestra.plugin.aws.s3;

import io.kestra.plugin.aws.AbstractConnection;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

@SuperBuilder
@ToString
@EqualsAndHashCode
@Getter
@NoArgsConstructor
public abstract class AbstractS3Object extends AbstractConnection implements AbstractS3ObjectInterface {
    protected String requestPayer;

    protected String bucket;

    static {
        // Initializing CRT will download the S3 native library into /tmp.
        // With Java Security enabled, we need to do it early so it is done out of a task execution.
        S3Service.initCrt();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy