Interface ImmutabilityPolicy

    • Method Detail

      • 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.
      • 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