public static interface S3SetObjectLegalHoldOperation.Builder extends SdkPojo, CopyableBuilder<S3SetObjectLegalHoldOperation.Builder,S3SetObjectLegalHoldOperation>
| Modifier and Type | Method and Description |
|---|---|
default S3SetObjectLegalHoldOperation.Builder |
legalHold(Consumer<S3ObjectLockLegalHold.Builder> legalHold)
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
|
S3SetObjectLegalHoldOperation.Builder |
legalHold(S3ObjectLockLegalHold legalHold)
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildS3SetObjectLegalHoldOperation.Builder legalHold(S3ObjectLockLegalHold legalHold)
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
legalHold - Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.default S3SetObjectLegalHoldOperation.Builder legalHold(Consumer<S3ObjectLockLegalHold.Builder> legalHold)
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
This is a convenience method that creates an instance of theS3ObjectLockLegalHold.Builder avoiding
the need to create one manually via S3ObjectLockLegalHold.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to legalHold(S3ObjectLockLegalHold).legalHold - a consumer that will call methods on S3ObjectLockLegalHold.BuilderlegalHold(S3ObjectLockLegalHold)Copyright © 2022. All rights reserved.