public static final class PutObjectArgs.Builder extends PutObjectBaseArgs.Builder<PutObjectArgs.Builder,PutObjectArgs>
PutObjectArgs
.skipValidation
operations
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PutObjectArgs.Builder |
contentType(String contentType) |
PutObjectArgs.Builder |
stream(InputStream stream,
long objectSize,
long partSize)
Sets stream to upload.
|
protected void |
validate(PutObjectArgs args) |
getPartInfo, preloadData
headers, headers, legalHold, retention, sse, tags, tags, userMetadata, userMetadata
object, validateObjectName
bucket, region, skipValidation, validateBucketName
build, copyMultimap, extraHeaders, extraHeaders, extraQueryParams, extraQueryParams, toMultimap, validateNotEmptyString, validateNotNull, validateNullOrNotEmptyString, validateNullOrPositive
protected void validate(PutObjectArgs args)
validate
in class ObjectArgs.Builder<PutObjectArgs.Builder,PutObjectArgs>
public PutObjectArgs.Builder stream(InputStream stream, long objectSize, long partSize)
A valid part size is between 5MiB to 5GiB (both limits inclusive).
public PutObjectArgs.Builder contentType(String contentType)