Class ObjectLockMode

java.lang.Object
com.google.cloud.StringEnumValue
com.google.cloud.storage.multipartupload.model.ObjectLockMode
All Implemented Interfaces:
Serializable

@BetaApi public final class ObjectLockMode extends com.google.cloud.StringEnumValue
Represents the object lock mode. See https://cloud.google.com/storage/docs/object-lock for details.
Since:
2.60.0 This new api is in preview and is subject to breaking changes.
See Also:
  • Field Details

  • Method Details

    • valueOfStrict

      @BetaApi public static ObjectLockMode valueOfStrict(String constant)
      Get the ObjectLockMode for the given String constant, and throw an exception if the constant is not recognized.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • valueOf

      @BetaApi public static ObjectLockMode valueOf(String constant)
      Get the ObjectLockMode for the given String constant, and allow unrecognized values.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • values

      @BetaApi public static ObjectLockMode[] values()
      Return the known values for ObjectLockMode.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.