Package com.google.cloud.storage
Class BlobInfo.Retention.Builder
java.lang.Object
com.google.cloud.storage.BlobInfo.Retention.Builder
- Enclosing class:
- BlobInfo.Retention
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Sets the retention policy's Mode.setRetainUntilTime
(OffsetDateTime retainUntilTime) Sets what time this object will be retained until, if the mode is Locked.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setMode
Sets the retention policy's Mode. Can be Locked or Unlocked. -
setRetainUntilTime
Sets what time this object will be retained until, if the mode is Locked. -
build
-