public WriteGetObjectResponseRequest withObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus) {
        this.objectLockLegalHoldStatus = objectLockLegalHoldStatus.toString();
        return this;
    }
Set whether an object stored in Amazon S3 has an active legal hold.

@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/WriteGetObjectResponseRequest.java