public ObjectLockLegalHold withStatus(ObjectLockLegalHoldStatus status) {
        this.status = status.toString();
        return this;
    }
Indicates whether the specified object has a Legal Hold in place.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ObjectLockLegalHold.java