Class ImmutabilityPolicyPropertiesResponse


  • public final class ImmutabilityPolicyPropertiesResponse
    extends java.lang.Object
    • Method Detail

      • allowProtectedAppendWrites

        public java.util.Optional<java.lang.Boolean> allowProtectedAppendWrites()
        Returns:
        This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API.
      • allowProtectedAppendWritesAll

        public java.util.Optional<java.lang.Boolean> allowProtectedAppendWritesAll()
        Returns:
        This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
      • etag

        public java.lang.String etag()
        Returns:
        ImmutabilityPolicy Etag.
      • immutabilityPeriodSinceCreationInDays

        public java.util.Optional<java.lang.Integer> immutabilityPeriodSinceCreationInDays()
        Returns:
        The immutability period for the blobs in the container since the policy creation, in days.
      • state

        public java.lang.String state()
        Returns:
        The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
      • updateHistory

        public java.util.List<UpdateHistoryPropertyResponse> updateHistory()
        Returns:
        The ImmutabilityPolicy update history of the blob container.