public static Builder newBuilder(
      com.google.cloud.storagebatchoperations.v1.PutObjectHold prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
<pre>
Required. Updates object event based holds state. When object event based
hold is set, object cannot be deleted or replaced. Resets object's time in
the bucket for the purposes of the retention period.
</pre>

<code>
.google.cloud.storagebatchoperations.v1.PutObjectHold.HoldStatus event_based_hold = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The eventBasedHold.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/PutObjectHold.java