public static interface GetObjectLockConfigurationResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetObjectLockConfigurationResponse.Builder,GetObjectLockConfigurationResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetObjectLockConfigurationResponse.Builder |
objectLockConfiguration(Consumer<ObjectLockConfiguration.Builder> objectLockConfiguration)
The specified bucket's Object Lock configuration.
|
GetObjectLockConfigurationResponse.Builder |
objectLockConfiguration(ObjectLockConfiguration objectLockConfiguration)
The specified bucket's Object Lock configuration.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildGetObjectLockConfigurationResponse.Builder objectLockConfiguration(ObjectLockConfiguration objectLockConfiguration)
The specified bucket's Object Lock configuration.
objectLockConfiguration - The specified bucket's Object Lock configuration.default GetObjectLockConfigurationResponse.Builder objectLockConfiguration(Consumer<ObjectLockConfiguration.Builder> objectLockConfiguration)
The specified bucket's Object Lock configuration.
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)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.