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

io.digdag.spi.StorageObjectSummary Maven / Gradle / Ivy

package io.digdag.spi;

import java.time.Instant;
import org.immutables.value.Value;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

@Value.Immutable
@JsonSerialize(as = ImmutableStorageObjectSummary.class)
@JsonDeserialize(as = ImmutableStorageObjectSummary.class)
public interface StorageObjectSummary
{
    String getKey();

    long getContentLength();

    Instant getLastModified();

    public static ImmutableStorageObjectSummary.Builder builder()
    {
        return ImmutableStorageObjectSummary.builder();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy