@Mutable @NotThreadSafe public static interface ExtendObjectRetentionRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<ExtendObjectRetentionRequest.Builder,ExtendObjectRetentionRequest>
| Modifier and Type | Method and Description |
|---|---|
ExtendObjectRetentionRequest.Builder |
additionalRetentionPeriod(Long additionalRetentionPeriod) |
ExtendObjectRetentionRequest.Builder |
bucket(String bucket)
Sets the name of the bucket containing the reference to the object to add a legal hold to.
|
ExtendObjectRetentionRequest.Builder |
extendRetentionFromCurrentTime(Long extendRetentionFromCurrentTime) |
ExtendObjectRetentionRequest.Builder |
key(String key)
Sets the key, the name of the reference to the object to add a legal hold to.
|
ExtendObjectRetentionRequest.Builder |
newRetentionExpirationDate(Instant newRetentionExpirationDate) |
ExtendObjectRetentionRequest.Builder |
newRetentionPeriod(Long newRetentionPeriod) |
buildoverrideConfiguration, overrideConfiguration, overrideConfigurationequalsBySdkFields, sdkFieldNameToField, sdkFieldscopyapplyMutation, buildExtendObjectRetentionRequest.Builder bucket(String bucket)
bucket: - Name of the bucketExtendObjectRetentionRequest.Builder key(String key)
key: - name of the reference to the object to add a legal hold toExtendObjectRetentionRequest.Builder additionalRetentionPeriod(Long additionalRetentionPeriod)
ExtendObjectRetentionRequest.Builder extendRetentionFromCurrentTime(Long extendRetentionFromCurrentTime)
ExtendObjectRetentionRequest.Builder newRetentionExpirationDate(Instant newRetentionExpirationDate)
ExtendObjectRetentionRequest.Builder newRetentionPeriod(Long newRetentionPeriod)
Copyright © 2026. All rights reserved.