Interface ImmutabilityPolicy

All Superinterfaces:
HasInnerModel<ImmutabilityPolicyInner>, HasManager<StorageManager>, Indexable, Refreshable<ImmutabilityPolicy>, Updatable<ImmutabilityPolicy.Update>

Type representing ImmutabilityPolicy.
  • Method Details

    • etag

      String etag()
      Returns:
      the etag value.
    • id

      String id()
      Returns:
      the id value.
    • immutabilityPeriodSinceCreationInDays

      int immutabilityPeriodSinceCreationInDays()
      Returns:
      the immutabilityPeriodSinceCreationInDays value.
    • name

      String name()
      Returns:
      the name value.
    • state

      Returns:
      the state value.
    • type

      String type()
      Returns:
      the type value.
    • lock

      void lock()
      Locks the immutability policy.
    • lockAsync

      Mono<Void> lockAsync()
      Locks the immutability policy.
      Returns:
      the completion
    • extend

      void extend(int immutabilityPeriodSinceCreationInDays)
      Extends the immutability policy.
      Parameters:
      immutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the policy creation, in days.
    • extendAsync

      Mono<Void> extendAsync(int immutabilityPeriodSinceCreationInDays)
      Extends the immutability policy.
      Parameters:
      immutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the policy creation, in days.
      Returns:
      the completion