public final class BlobContainerProperties extends Object
Constructor and Description |
---|
BlobContainerProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getEtag()
Gets the ETag value of the container.
|
Date |
getLastModified()
Gets the last modified time on the container.
|
LeaseDuration |
getLeaseDuration()
Gets the lease duration of the container.
|
LeaseState |
getLeaseState()
Gets the lease state of the container.
|
LeaseStatus |
getLeaseStatus()
Gets the lease status of the container.
|
BlobContainerPublicAccessType |
getPublicAccess()
Gets the public access level for the container.
|
protected void |
setEtag(String etag)
Sets the ETag value on the container.
|
protected void |
setLastModified(Date lastModified)
Sets the last modified time on the container.
|
protected void |
setLeaseDuration(LeaseDuration leaseDuration)
Sets the lease duration on the container.
|
protected void |
setLeaseState(LeaseState leaseState)
Sets the lease status on the container.
|
protected void |
setLeaseStatus(LeaseStatus leaseStatus)
Sets the lease status on the container.
|
protected void |
setPublicAccess(BlobContainerPublicAccessType publicAccess)
Sets the public access level on the container.
|
public String getEtag()
The ETag value is a unique identifier that is updated when a write operation is performed against the container. It may be used to perform operations conditionally, providing concurrency control and improved efficiency.
The AccessCondition.generateIfMatchCondition(String)
and
AccessCondition.generateIfNoneMatchCondition(String)
methods take an ETag value and return an
AccessCondition
object that may be specified on the request.
String
which represents the ETag.public Date getLastModified()
java.util.Date
object which represents the last modified time.public LeaseStatus getLeaseStatus()
LeaseStatus
object which represents the lease status of the container.public LeaseState getLeaseState()
LeaseState
object which represents the lease state of the container.public LeaseDuration getLeaseDuration()
LeaseDuration
object which represents the lease duration of the container.public BlobContainerPublicAccessType getPublicAccess()
create
method or
uploadPermissions
method.BlobContainerPublicAccessLevel
that specifies the level of public access
that is allowed on the container.protected void setEtag(String etag)
etag
- A String
which represents the ETag to set.protected void setLastModified(Date lastModified)
lastModified
- A java.util.Date
object which represents the last modified time to set.protected void setLeaseStatus(LeaseStatus leaseStatus)
leaseStatus
- A LeaseStatus
object which represents the lease status of the container.protected void setLeaseState(LeaseState leaseState)
leaseState
- A LeaseState
object which represents the lease state of the container.protected void setLeaseDuration(LeaseDuration leaseDuration)
leaseDuration
- A LeaseDuration
object which represents the lease duration of the container.protected void setPublicAccess(BlobContainerPublicAccessType publicAccess)
create
method or
uploadPermissions
method.publicAccess
- A BlobContainerPublicAccessType
object
which represents the public access level on the container.Copyright © 2019. All rights reserved.