public static interface PutObjectAclRequest.Builder extends S3Request.Builder, CopyableBuilder<PutObjectAclRequest.Builder,PutObjectAclRequest>
| Modifier and Type | Method and Description |
|---|---|
PutObjectAclRequest.Builder |
accessControlPolicy(AccessControlPolicy accessControlPolicy)
Sets the value of the AccessControlPolicy property for this object.
|
default PutObjectAclRequest.Builder |
accessControlPolicy(Consumer<AccessControlPolicy.Builder> accessControlPolicy)
Sets the value of the AccessControlPolicy property for this object.
|
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)
Sets the value of the Bucket property for this object.
|
PutObjectAclRequest.Builder |
contentMD5(String contentMD5)
Sets the value of the ContentMD5 property for this object.
|
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)
Sets the value of the Key property for this object.
|
PutObjectAclRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutObjectAclRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildrequestOverrideConfigcopyapply, buildPutObjectAclRequest.Builder acl(String acl)
acl - The canned ACL to apply to the object.ObjectCannedACL,
ObjectCannedACLPutObjectAclRequest.Builder acl(ObjectCannedACL acl)
acl - The canned ACL to apply to the object.ObjectCannedACL,
ObjectCannedACLPutObjectAclRequest.Builder accessControlPolicy(AccessControlPolicy accessControlPolicy)
accessControlPolicy - The new value for the AccessControlPolicy property for this object.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 - The new value for the Bucket property for this object.PutObjectAclRequest.Builder contentMD5(String contentMD5)
contentMD5 - The new value for the ContentMD5 property for this object.PutObjectAclRequest.Builder grantFullControl(String grantFullControl)
grantFullControl - Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.PutObjectAclRequest.Builder grantRead(String grantRead)
grantRead - Allows grantee to list the objects in the bucket.PutObjectAclRequest.Builder grantReadACP(String grantReadACP)
grantReadACP - Allows grantee to read the bucket ACL.PutObjectAclRequest.Builder grantWrite(String grantWrite)
grantWrite - Allows grantee to create, overwrite, and delete any object in the bucket.PutObjectAclRequest.Builder grantWriteACP(String grantWriteACP)
grantWriteACP - Allows grantee to write the ACL for the applicable bucket.PutObjectAclRequest.Builder key(String key)
key - The new value for the Key property for this object.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 - VersionId used to reference a specific version of the object.PutObjectAclRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutObjectAclRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.