QueueAccessPolicy Class
- java.
lang. Object - com.
azure. storage. queue. models. QueueAccessPolicy
- com.
Implements
public final class QueueAccessPolicy
implements XmlSerializable<QueueAccessPolicy>
An Access policy.
Constructor | Description |
---|---|
Queue |
Creates an instance of Queue |
Modifier and Type | Method and Description |
---|---|
static
Queue |
from Reads an instance of Queue |
static
Queue |
from Reads an instance of Queue |
Offset |
get Get the expires |
String |
get Get the permissions property: the permissions for the acl policy. |
Offset |
get Get the starts |
Queue |
set Set the expires |
Queue |
set Set the permissions property: the permissions for the acl policy. |
Queue |
set Set the starts |
Xml |
to |
Xml |
to |
Methods inherited from java.lang.Object
QueueAccessPolicy
public QueueAccessPolicy()
Creates an instance of QueueAccessPolicy class.
fromXml
public static QueueAccessPolicy fromXml(XmlReader xmlReader)
Reads an instance of QueueAccessPolicy from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static QueueAccessPolicy fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of QueueAccessPolicy from the XmlReader.
Parameters:
Returns:
Throws:
getExpiresOn
public OffsetDateTime getExpiresOn()
Get the expiresOn property: the date-time the policy expires.
Returns:
getPermissions
public String getPermissions()
Get the permissions property: the permissions for the acl policy.
Returns:
getStartsOn
public OffsetDateTime getStartsOn()
Get the startsOn property: the date-time the policy is active.
Returns:
setExpiresOn
public QueueAccessPolicy setExpiresOn(OffsetDateTime expiresOn)
Set the expiresOn property: the date-time the policy expires.
Parameters:
Returns:
setPermissions
public QueueAccessPolicy setPermissions(String permissions)
Set the permissions property: the permissions for the acl policy.
Parameters:
Returns:
setStartsOn
public QueueAccessPolicy setStartsOn(OffsetDateTime startsOn)
Set the startsOn property: the date-time the policy is active.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Azure SDK for Java feedback
Azure SDK for Java is an open source project. Select a link to provide feedback: