public abstract class SharedAccessPolicy extends Object
Constructor and Description |
---|
SharedAccessPolicy()
Creates an instance of the
SharedAccessPolicy class. |
Modifier and Type | Method and Description |
---|---|
Date |
getSharedAccessExpiryTime()
Gets the expiry time for a shared access signature associated with this shared access policy.
|
Date |
getSharedAccessStartTime()
Gets the start time for a shared access signature associated with this shared access policy.
|
abstract String |
permissionsToString()
Converts this shared access policy's permissions to a string.
|
abstract void |
setPermissionsFromString(String value)
Sets shared access permissions using the specified permissions string.
|
void |
setSharedAccessExpiryTime(Date sharedAccessExpiryTime)
Sets the expiry time for a shared access signature associated with this shared access policy.
|
void |
setSharedAccessStartTime(Date sharedAccessStartTime)
Sets the start time for a shared access signature associated with this shared access policy.
|
public SharedAccessPolicy()
SharedAccessPolicy
class.public Date getSharedAccessExpiryTime()
java.util.Date
object which contains the shared access signature expiry time.public Date getSharedAccessStartTime()
java.util.Date
object which contains the shared access signature start time.public void setSharedAccessExpiryTime(Date sharedAccessExpiryTime)
sharedAccessExpiryTime
- A java.util.Date
object which represents the expiry time to set for the shared access signature.public void setSharedAccessStartTime(Date sharedAccessStartTime)
sharedAccessStartTime
- A java.util.Date
object which represents the start time to set for the shared access signature.public abstract String permissionsToString()
String
which represents the shared access permissions.public abstract void setPermissionsFromString(String value)
value
- A String
which represents the shared access permissions.Copyright © 2019. All rights reserved.