Class BlobAnalyticsLogging

java.lang.Object
com.azure.storage.blob.models.BlobAnalyticsLogging

public final class BlobAnalyticsLogging extends Object
Azure Analytics Logging settings.
  • Constructor Details

    • BlobAnalyticsLogging

      public BlobAnalyticsLogging()
      Creates an instance of BlobAnalyticsLogging class.
  • Method Details

    • getVersion

      public String getVersion()
      Get the version property: The version of Storage Analytics to configure.
      Returns:
      the version value.
    • setVersion

      public BlobAnalyticsLogging setVersion(String version)
      Set the version property: The version of Storage Analytics to configure.
      Parameters:
      version - the version value to set.
      Returns:
      the BlobAnalyticsLogging object itself.
    • isDelete

      public boolean isDelete()
      Get the delete property: Indicates whether all delete requests should be logged.
      Returns:
      the delete value.
    • setDelete

      public BlobAnalyticsLogging setDelete(boolean delete)
      Set the delete property: Indicates whether all delete requests should be logged.
      Parameters:
      delete - the delete value to set.
      Returns:
      the BlobAnalyticsLogging object itself.
    • isRead

      public boolean isRead()
      Get the read property: Indicates whether all read requests should be logged.
      Returns:
      the read value.
    • setRead

      public BlobAnalyticsLogging setRead(boolean read)
      Set the read property: Indicates whether all read requests should be logged.
      Parameters:
      read - the read value to set.
      Returns:
      the BlobAnalyticsLogging object itself.
    • isWrite

      public boolean isWrite()
      Get the write property: Indicates whether all write requests should be logged.
      Returns:
      the write value.
    • setWrite

      public BlobAnalyticsLogging setWrite(boolean write)
      Set the write property: Indicates whether all write requests should be logged.
      Parameters:
      write - the write value to set.
      Returns:
      the BlobAnalyticsLogging object itself.
    • getRetentionPolicy

      public BlobRetentionPolicy getRetentionPolicy()
      Get the retentionPolicy property: the retention policy which determines how long the associated data should persist.
      Returns:
      the retentionPolicy value.
    • setRetentionPolicy

      public BlobAnalyticsLogging setRetentionPolicy(BlobRetentionPolicy retentionPolicy)
      Set the retentionPolicy property: the retention policy which determines how long the associated data should persist.
      Parameters:
      retentionPolicy - the retentionPolicy value to set.
      Returns:
      the BlobAnalyticsLogging object itself.