public abstract class ObjectWriteArgs extends ObjectArgs
UploadSnowballObjectsArgs, UploadSnowballObjectsArgs, PutObjectBaseArgs, ComposeObjectArgs and CopyObjectArgs.| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectWriteArgs.Builder<B extends ObjectWriteArgs.Builder<B,A>,A extends ObjectWriteArgs>
Builder of
ObjectWriteArgs. |
| Modifier and Type | Field and Description |
|---|---|
protected Http.Headers |
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 Http.Headers |
userMetadata |
objectNamebucketName, regionextraHeaders, extraQueryParams, location| Modifier | Constructor and Description |
|---|---|
protected |
ObjectWriteArgs() |
protected |
ObjectWriteArgs(ObjectWriteArgs args) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.MediaType |
contentType() |
boolean |
equals(Object o) |
int |
hashCode() |
Http.Headers |
headers() |
boolean |
legalHold() |
Http.Headers |
makeHeaders() |
Http.Headers |
makeHeaders(okhttp3.MediaType contentType,
Http.Headers checksumHeaders) |
Retention |
retention() |
ServerSideEncryption |
sse() |
Tags |
tags() |
Http.Headers |
userMetadata() |
protected void |
validateSse(boolean isHttps) |
objectbucket, regioncheckSse, extraHeaders, extraQueryParams, location, setLocationpublic 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 Http.Headers headers
protected Http.Headers userMetadata
protected ServerSideEncryption sse
protected Tags tags
protected Retention retention
protected boolean legalHold
protected ObjectWriteArgs()
protected ObjectWriteArgs(ObjectWriteArgs args)
public Http.Headers headers()
public Http.Headers userMetadata()
public ServerSideEncryption sse()
public Tags tags()
public Retention retention()
public boolean legalHold()
public okhttp3.MediaType contentType()
throws IOException
IOExceptionpublic Http.Headers makeHeaders()
public Http.Headers makeHeaders(okhttp3.MediaType contentType, Http.Headers checksumHeaders)
protected void validateSse(boolean isHttps)
public boolean equals(Object o)
equals in class ObjectArgspublic int hashCode()
hashCode in class ObjectArgs