Class BlobContainerItemProperties

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

public final class BlobContainerItemProperties extends Object
Properties of a container.
  • Constructor Details

    • BlobContainerItemProperties

      public BlobContainerItemProperties()
  • Method Details

    • getLastModified

      public OffsetDateTime getLastModified()
      Get the lastModified property: The Last-Modified property.
      Returns:
      the lastModified value.
    • setLastModified

      public BlobContainerItemProperties setLastModified(OffsetDateTime lastModified)
      Set the lastModified property: The Last-Modified property.
      Parameters:
      lastModified - the lastModified value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • getETag

      public String getETag()
      Get the eTag property: The Etag property.
      Returns:
      the eTag value.
    • setETag

      public BlobContainerItemProperties setETag(String eTag)
      Set the eTag property: The Etag property.
      Parameters:
      eTag - the eTag value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • getLeaseStatus

      public LeaseStatusType getLeaseStatus()
      Get the leaseStatus property: The LeaseStatus property.
      Returns:
      the leaseStatus value.
    • setLeaseStatus

      public BlobContainerItemProperties setLeaseStatus(LeaseStatusType leaseStatus)
      Set the leaseStatus property: The LeaseStatus property.
      Parameters:
      leaseStatus - the leaseStatus value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • getLeaseState

      public LeaseStateType getLeaseState()
      Get the leaseState property: The LeaseState property.
      Returns:
      the leaseState value.
    • setLeaseState

      public BlobContainerItemProperties setLeaseState(LeaseStateType leaseState)
      Set the leaseState property: The LeaseState property.
      Parameters:
      leaseState - the leaseState value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • getLeaseDuration

      public LeaseDurationType getLeaseDuration()
      Get the leaseDuration property: The LeaseDuration property.
      Returns:
      the leaseDuration value.
    • setLeaseDuration

      public BlobContainerItemProperties setLeaseDuration(LeaseDurationType leaseDuration)
      Set the leaseDuration property: The LeaseDuration property.
      Parameters:
      leaseDuration - the leaseDuration value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • getPublicAccess

      public PublicAccessType getPublicAccess()
      Get the publicAccess property: The PublicAccess property.
      Returns:
      the publicAccess value.
    • setPublicAccess

      public BlobContainerItemProperties setPublicAccess(PublicAccessType publicAccess)
      Set the publicAccess property: The PublicAccess property.
      Parameters:
      publicAccess - the publicAccess value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • isHasImmutabilityPolicy

      public Boolean isHasImmutabilityPolicy()
      Get the hasImmutabilityPolicy property: The HasImmutabilityPolicy property.
      Returns:
      the hasImmutabilityPolicy value.
    • setHasImmutabilityPolicy

      public BlobContainerItemProperties setHasImmutabilityPolicy(Boolean hasImmutabilityPolicy)
      Set the hasImmutabilityPolicy property: The HasImmutabilityPolicy property.
      Parameters:
      hasImmutabilityPolicy - the hasImmutabilityPolicy value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • isHasLegalHold

      public Boolean isHasLegalHold()
      Get the hasLegalHold property: The HasLegalHold property.
      Returns:
      the hasLegalHold value.
    • setHasLegalHold

      public BlobContainerItemProperties setHasLegalHold(Boolean hasLegalHold)
      Set the hasLegalHold property: The HasLegalHold property.
      Parameters:
      hasLegalHold - the hasLegalHold value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • getDefaultEncryptionScope

      public String getDefaultEncryptionScope()
      Get the defaultEncryptionScope property: The DefaultEncryptionScope property.
      Returns:
      the defaultEncryptionScope value.
    • setDefaultEncryptionScope

      public BlobContainerItemProperties setDefaultEncryptionScope(String defaultEncryptionScope)
      Set the defaultEncryptionScope property: The DefaultEncryptionScope property.
      Parameters:
      defaultEncryptionScope - the defaultEncryptionScope value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • isEncryptionScopeOverridePrevented

      public boolean isEncryptionScopeOverridePrevented()
      Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.
      Returns:
      the encryptionScopeOverridePrevented value.
    • setEncryptionScopeOverridePrevented

      public BlobContainerItemProperties setEncryptionScopeOverridePrevented(boolean encryptionScopeOverridePrevented)
      Set the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.
      Parameters:
      encryptionScopeOverridePrevented - the encryptionScopeOverridePrevented value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • getDeletedTime

      public OffsetDateTime getDeletedTime()
      Get the deletedTime property: The DeletedTime property.
      Returns:
      the deletedTime value.
    • setDeletedTime

      public BlobContainerItemProperties setDeletedTime(OffsetDateTime deletedTime)
      Set the deletedTime property: The DeletedTime property.
      Parameters:
      deletedTime - the deletedTime value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • getRemainingRetentionDays

      public Integer getRemainingRetentionDays()
      Get the remainingRetentionDays property: The RemainingRetentionDays property.
      Returns:
      the remainingRetentionDays value.
    • setRemainingRetentionDays

      public BlobContainerItemProperties setRemainingRetentionDays(Integer remainingRetentionDays)
      Set the remainingRetentionDays property: The RemainingRetentionDays property.
      Parameters:
      remainingRetentionDays - the remainingRetentionDays value to set.
      Returns:
      the BlobContainerItemProperties object itself.
    • isImmutableStorageWithVersioningEnabled

      public Boolean isImmutableStorageWithVersioningEnabled()
      Get the isImmutableStorageWithVersioningEnabled property: Indicates if version level worm is enabled on this container.
      Returns:
      the isImmutableStorageWithVersioningEnabled value.
    • setImmutableStorageWithVersioningEnabled

      public BlobContainerItemProperties setImmutableStorageWithVersioningEnabled(Boolean isImmutableStorageWithVersioningEnabled)
      Set the isImmutableStorageWithVersioningEnabled property: Indicates if version level worm is enabled on this container.
      Parameters:
      isImmutableStorageWithVersioningEnabled - the isImmutableStorageWithVersioningEnabled value to set.
      Returns:
      the BlobContainerItemProperties object itself.