public abstract class PutObjectBaseArgs extends ObjectWriteArgs
PutObjectArgs
and UploadObjectArgs
.Modifier and Type | Class and Description |
---|---|
static class |
PutObjectBaseArgs.Builder<B extends PutObjectBaseArgs.Builder<B,A>,A extends PutObjectBaseArgs>
Base argument builder class for
PutObjectBaseArgs . |
Modifier and Type | Field and Description |
---|---|
protected String |
contentType |
protected long |
objectSize |
protected int |
partCount |
protected long |
partSize |
protected boolean |
preloadData |
headers, legalHold, MAX_MULTIPART_COUNT, MAX_OBJECT_SIZE, MAX_PART_SIZE, MIN_MULTIPART_SIZE, retention, sse, tags, userMetadata
objectName
bucketName, region
extraHeaders, extraQueryParams
Constructor and Description |
---|
PutObjectBaseArgs() |
Modifier and Type | Method and Description |
---|---|
String |
contentType()
Gets content type.
|
boolean |
equals(Object o) |
int |
hashCode() |
long |
objectSize() |
int |
partCount() |
long |
partSize() |
boolean |
preloadData() |
genHeaders, headers, legalHold, retention, sse, tags, userMetadata, validateSse
checkSse, object
bucket, region
extraHeaders, extraQueryParams
protected long objectSize
protected long partSize
protected int partCount
protected String contentType
protected boolean preloadData
public long objectSize()
public long partSize()
public int partCount()
public String contentType() throws IOException
IOException
public boolean preloadData()
public boolean equals(Object o)
equals
in class ObjectWriteArgs
public int hashCode()
hashCode
in class ObjectWriteArgs