Class ProtectedAppendWritesHistory


  • public final class ProtectedAppendWritesHistory
    extends Object
    Protected append writes history setting for the blob container with Legal holds.
    • Constructor Detail

      • ProtectedAppendWritesHistory

        public ProtectedAppendWritesHistory()
    • Method Detail

      • allowProtectedAppendWritesAll

        public Boolean allowProtectedAppendWritesAll()
        Get the allowProtectedAppendWritesAll property: When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
        Returns:
        the allowProtectedAppendWritesAll value.
      • withAllowProtectedAppendWritesAll

        public ProtectedAppendWritesHistory withAllowProtectedAppendWritesAll​(Boolean allowProtectedAppendWritesAll)
        Set the allowProtectedAppendWritesAll property: When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
        Parameters:
        allowProtectedAppendWritesAll - the allowProtectedAppendWritesAll value to set.
        Returns:
        the ProtectedAppendWritesHistory object itself.
      • timestamp

        public OffsetDateTime timestamp()
        Get the timestamp property: Returns the date and time the tag was added.
        Returns:
        the timestamp value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.