Package com.azure.storage.queue.models
Class QueueAccessPolicy
- java.lang.Object
-
- com.azure.storage.queue.models.QueueAccessPolicy
-
public final class QueueAccessPolicy extends Object
An Access policy.
-
-
Constructor Summary
Constructors Constructor Description QueueAccessPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getExpiresOn()
Get the expiresOn property: the date-time the policy expires.String
getPermissions()
Get the permissions property: the permissions for the acl policy.OffsetDateTime
getStartsOn()
Get the startsOn property: the date-time the policy is active.QueueAccessPolicy
setExpiresOn(OffsetDateTime expiresOn)
Set the expiresOn property: the date-time the policy expires.QueueAccessPolicy
setPermissions(String permissions)
Set the permissions property: the permissions for the acl policy.QueueAccessPolicy
setStartsOn(OffsetDateTime startsOn)
Set the startsOn property: the date-time the policy is active.
-
-
-
Method Detail
-
getStartsOn
public OffsetDateTime getStartsOn()
Get the startsOn property: the date-time the policy is active.- Returns:
- the startsOn value.
-
setStartsOn
public QueueAccessPolicy setStartsOn(OffsetDateTime startsOn)
Set the startsOn property: the date-time the policy is active.- Parameters:
startsOn
- the startsOn value to set.- Returns:
- the QueueAccessPolicy object itself.
-
getExpiresOn
public OffsetDateTime getExpiresOn()
Get the expiresOn property: the date-time the policy expires.- Returns:
- the expiresOn value.
-
setExpiresOn
public QueueAccessPolicy setExpiresOn(OffsetDateTime expiresOn)
Set the expiresOn property: the date-time the policy expires.- Parameters:
expiresOn
- the expiresOn value to set.- Returns:
- the QueueAccessPolicy object itself.
-
getPermissions
public String getPermissions()
Get the permissions property: the permissions for the acl policy.- Returns:
- the permissions value.
-
setPermissions
public QueueAccessPolicy setPermissions(String permissions)
Set the permissions property: the permissions for the acl policy.- Parameters:
permissions
- the permissions value to set.- Returns:
- the QueueAccessPolicy object itself.
-
-