@Deprecated public final class AwsS3ServiceClientImpl extends Object implements AwsS3ServiceClient
factory
Constructor and Description |
---|
AwsS3ServiceClientImpl(CoreAwsS3ServiceClient client,
TaskDispatcher dispatcher)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Task<AwsS3PutObjectResult> |
putObject(String bucket,
String key,
String acl,
String contentType,
Binary body)
Deprecated.
Puts an object.
|
Task<AwsS3PutObjectResult> |
putObject(String bucket,
String key,
String acl,
String contentType,
byte[] body)
Deprecated.
Puts an object.
|
Task<AwsS3PutObjectResult> |
putObject(String bucket,
String key,
String acl,
String contentType,
InputStream body)
Deprecated.
Puts an object.
|
Task<AwsS3PutObjectResult> |
putObject(String bucket,
String key,
String acl,
String contentType,
String body)
Deprecated.
Puts an object.
|
Task<AwsS3SignPolicyResult> |
signPolicy(String bucket,
String key,
String acl,
String contentType)
Deprecated.
Signs an AWS S3 security policy for a future put object request.
|
public AwsS3ServiceClientImpl(CoreAwsS3ServiceClient client, TaskDispatcher dispatcher)
public Task<AwsS3PutObjectResult> putObject(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType, @NonNull String body)
putObject
in interface AwsS3ServiceClient
bucket
- the bucket to put the object in.key
- the key (or name) of the object.acl
- the ACL to apply to the object (e.g. private).contentType
- the content type of the object (e.g. application/json).body
- the body of the object.public Task<AwsS3PutObjectResult> putObject(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType, @NonNull Binary body)
putObject
in interface AwsS3ServiceClient
bucket
- the bucket to put the object in.key
- the key (or name) of the object.acl
- the ACL to apply to the object (e.g. private).contentType
- the content type of the object (e.g. application/json).body
- the body of the object.public Task<AwsS3PutObjectResult> putObject(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType, @NonNull byte[] body)
putObject
in interface AwsS3ServiceClient
bucket
- the bucket to put the object in.key
- the key (or name) of the object.acl
- the ACL to apply to the object (e.g. private).contentType
- the content type of the object (e.g. application/json).body
- the body of the object.public Task<AwsS3PutObjectResult> putObject(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType, @NonNull InputStream body)
putObject
in interface AwsS3ServiceClient
bucket
- the bucket to put the object in.key
- the key (or name) of the object.acl
- the ACL to apply to the object (e.g. private).contentType
- the content type of the object (e.g. application/json).body
- the body of the object.IOException
in the event the body cannot be read.public Task<AwsS3SignPolicyResult> signPolicy(@NonNull String bucket, @NonNull String key, @NonNull String acl, @NonNull String contentType)
signPolicy
in interface AwsS3ServiceClient
bucket
- the bucket to put the future object in.key
- the key (or name) of the future object.acl
- the ACL to apply to the future object (e.g. private).contentType
- the content type of the object (e.g. application/json).