public static interface PutObjectLockConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutObjectLockConfigurationRequest.Builder,PutObjectLockConfigurationRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutObjectLockConfigurationRequest.Builder bucket(String bucket)
The bucket whose Object Lock configuration you want to create or replace.
bucket - The bucket whose Object Lock configuration you want to create or replace.PutObjectLockConfigurationRequest.Builder objectLockConfiguration(ObjectLockConfiguration objectLockConfiguration)
The Object Lock configuration that you want to apply to the specified bucket.
objectLockConfiguration - The Object Lock configuration that you want to apply to the specified bucket.default PutObjectLockConfigurationRequest.Builder objectLockConfiguration(Consumer<ObjectLockConfiguration.Builder> objectLockConfiguration)
The Object Lock configuration that you want to apply to the specified bucket.
This is a convenience that creates an instance of theObjectLockConfiguration.Builder avoiding the
need to create one manually via ObjectLockConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to objectLockConfiguration(ObjectLockConfiguration).objectLockConfiguration - a consumer that will call methods on ObjectLockConfiguration.BuilderobjectLockConfiguration(ObjectLockConfiguration)PutObjectLockConfigurationRequest.Builder requestPayer(String requestPayer)
requestPayer - The new value for the RequestPayer property for this object.RequestPayer,
RequestPayerPutObjectLockConfigurationRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer - The new value for the RequestPayer property for this object.RequestPayer,
RequestPayerPutObjectLockConfigurationRequest.Builder token(String token)
A token to allow Object Lock to be enabled for an existing bucket.
token - A token to allow Object Lock to be enabled for an existing bucket.PutObjectLockConfigurationRequest.Builder contentMD5(String contentMD5)
The MD5 hash for the request body.
contentMD5 - The MD5 hash for the request body.PutObjectLockConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutObjectLockConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.