public static interface PutObjectAclRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutObjectAclRequest.Builder,PutObjectAclRequest>
| Modifier and Type | Method and Description |
|---|---|
PutObjectAclRequest.Builder |
accessControlPolicy(AccessControlPolicy accessControlPolicy)
|
default PutObjectAclRequest.Builder |
accessControlPolicy(Consumer<AccessControlPolicy.Builder> accessControlPolicy)
This is a convenience that creates an instance of the
AccessControlPolicy.Builder avoiding the need
to create one manually via AccessControlPolicy.builder(). |
PutObjectAclRequest.Builder |
acl(ObjectCannedACL acl)
The canned ACL to apply to the object.
|
PutObjectAclRequest.Builder |
acl(String acl)
The canned ACL to apply to the object.
|
PutObjectAclRequest.Builder |
bucket(String bucket)
|
PutObjectAclRequest.Builder |
contentMD5(String contentMD5)
|
PutObjectAclRequest.Builder |
grantFullControl(String grantFullControl)
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
|
PutObjectAclRequest.Builder |
grantRead(String grantRead)
Allows grantee to list the objects in the bucket.
|
PutObjectAclRequest.Builder |
grantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
|
PutObjectAclRequest.Builder |
grantWrite(String grantWrite)
Allows grantee to create, overwrite, and delete any object in the bucket.
|
PutObjectAclRequest.Builder |
grantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable bucket.
|
PutObjectAclRequest.Builder |
key(String key)
|
PutObjectAclRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutObjectAclRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutObjectAclRequest.Builder |
requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.
|
PutObjectAclRequest.Builder |
requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.
|
PutObjectAclRequest.Builder |
versionId(String versionId)
VersionId used to reference a specific version of the object.
|
buildoverrideConfigurationcopyapplyMutation, buildPutObjectAclRequest.Builder acl(String acl)
The canned ACL to apply to the object.
acl - The canned ACL to apply to the object.ObjectCannedACL,
ObjectCannedACLPutObjectAclRequest.Builder acl(ObjectCannedACL acl)
The canned ACL to apply to the object.
acl - The canned ACL to apply to the object.ObjectCannedACL,
ObjectCannedACLPutObjectAclRequest.Builder accessControlPolicy(AccessControlPolicy accessControlPolicy)
accessControlPolicy - default PutObjectAclRequest.Builder accessControlPolicy(Consumer<AccessControlPolicy.Builder> accessControlPolicy)
AccessControlPolicy.Builder avoiding the need
to create one manually via AccessControlPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to accessControlPolicy(AccessControlPolicy).accessControlPolicy - a consumer that will call methods on AccessControlPolicy.BuilderaccessControlPolicy(AccessControlPolicy)PutObjectAclRequest.Builder bucket(String bucket)
bucket - PutObjectAclRequest.Builder contentMD5(String contentMD5)
contentMD5 - PutObjectAclRequest.Builder grantFullControl(String grantFullControl)
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
grantFullControl - Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.PutObjectAclRequest.Builder grantRead(String grantRead)
Allows grantee to list the objects in the bucket.
grantRead - Allows grantee to list the objects in the bucket.PutObjectAclRequest.Builder grantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
grantReadACP - Allows grantee to read the bucket ACL.PutObjectAclRequest.Builder grantWrite(String grantWrite)
Allows grantee to create, overwrite, and delete any object in the bucket.
grantWrite - Allows grantee to create, overwrite, and delete any object in the bucket.PutObjectAclRequest.Builder grantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable bucket.
grantWriteACP - Allows grantee to write the ACL for the applicable bucket.PutObjectAclRequest.Builder key(String key)
key - PutObjectAclRequest.Builder requestPayer(String requestPayer)
requestPayer - The new value for the RequestPayer property for this object.RequestPayer,
RequestPayerPutObjectAclRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer - The new value for the RequestPayer property for this object.RequestPayer,
RequestPayerPutObjectAclRequest.Builder versionId(String versionId)
VersionId used to reference a specific version of the object.
versionId - VersionId used to reference a specific version of the object.PutObjectAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutObjectAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.