public abstract class ObjectWriteArgs extends ObjectArgs
Modifier and Type | Class and Description |
---|---|
static class |
ObjectWriteArgs.Builder<B extends ObjectWriteArgs.Builder<B,A>,A extends ObjectWriteArgs>
Base argument builder class for
ObjectWriteArgs . |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<String,String> |
headers |
protected boolean |
legalHold |
static int |
MAX_MULTIPART_COUNT |
static long |
MAX_OBJECT_SIZE |
static long |
MAX_PART_SIZE |
static int |
MIN_MULTIPART_SIZE |
protected Retention |
retention |
protected ServerSideEncryption |
sse |
protected Tags |
tags |
protected com.google.common.collect.Multimap<String,String> |
userMetadata |
objectName
bucketName, region
extraHeaders, extraQueryParams
Constructor and Description |
---|
ObjectWriteArgs() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.common.collect.Multimap<String,String> |
genHeaders() |
int |
hashCode() |
com.google.common.collect.Multimap<String,String> |
headers() |
boolean |
legalHold() |
Retention |
retention() |
ServerSideEncryption |
sse() |
Tags |
tags() |
com.google.common.collect.Multimap<String,String> |
userMetadata() |
protected void |
validateSse(okhttp3.HttpUrl url) |
checkSse, object
bucket, region
extraHeaders, extraQueryParams
public static final long MAX_OBJECT_SIZE
public static final int MIN_MULTIPART_SIZE
public static final long MAX_PART_SIZE
public static final int MAX_MULTIPART_COUNT
protected ServerSideEncryption sse
protected Tags tags
protected Retention retention
protected boolean legalHold
public ServerSideEncryption sse()
public Tags tags()
public Retention retention()
public boolean legalHold()
protected void validateSse(okhttp3.HttpUrl url)
public boolean equals(Object o)
equals
in class ObjectArgs
public int hashCode()
hashCode
in class ObjectArgs