public final class SharedAccessAccountPolicy extends SharedAccessPolicy
Constructor and Description |
---|
SharedAccessAccountPolicy() |
Modifier and Type | Method and Description |
---|---|
EnumSet<SharedAccessAccountPermissions> |
getPermissions()
Gets the permissions for a shared access signature associated with this shared access policy.
|
SharedAccessProtocols |
getProtocols()
Gets the allowed protocols for a shared access signature associated with this shared access policy.
|
IPRange |
getRange()
Gets the allowed IP addresses for a shared access signature associated with this shared access policy.
|
EnumSet<SharedAccessAccountResourceType> |
getResourceTypes()
Gets the resource type for a shared access signature associated with this shared access policy.
|
EnumSet<SharedAccessAccountService> |
getServices()
Gets the services (blob, file, queue, table) for a shared access signature associated with
this shared access policy.
|
String |
permissionsToString()
Converts this shared access policy's permissions to a
String . |
String |
resourceTypesToString()
Converts this shared access policy's resource types to a
String . |
String |
servicesToString()
Converts this shared access policy's services to a
String . |
void |
setPermissions(EnumSet<SharedAccessAccountPermissions> permissions)
Sets the permissions for a shared access signature associated with this shared access policy.
|
void |
setPermissionsFromString(String value)
Sets shared access permissions using the specified permissions
String . |
void |
setProtocols(SharedAccessProtocols protocols)
Sets the allowed protocols for a shared access signature associated with this shared access policy.
|
void |
setRange(IPRange range)
Sets the allowed IP addresses for a shared access signature associated with this shared access policy.
|
void |
setResourceTypeFromString(String value)
Sets shared access resource types using the specified resource types
String . |
void |
setResourceTypes(EnumSet<SharedAccessAccountResourceType> resourceTypes)
Sets the resource type for a shared access signature associated with this shared access policy.
|
void |
setServiceFromString(String value)
Sets shared access services using the specified services
String . |
void |
setServices(EnumSet<SharedAccessAccountService> services)
Sets the services (blob, file, queue, table) for a shared access signature associated with
this shared access policy.
|
getSharedAccessExpiryTime, getSharedAccessStartTime, setSharedAccessExpiryTime, setSharedAccessStartTime
public EnumSet<SharedAccessAccountPermissions> getPermissions()
public EnumSet<SharedAccessAccountService> getServices()
public EnumSet<SharedAccessAccountResourceType> getResourceTypes()
public IPRange getRange()
IPRange
object containing the range of IP addresses.public SharedAccessProtocols getProtocols()
SharedAccessProtocols
representing the chosen Internet protocols.public void setPermissions(EnumSet<SharedAccessAccountPermissions> permissions)
permissions
- the permissions to setpublic void setServices(EnumSet<SharedAccessAccountService> services)
services
- the services to setpublic void setResourceTypes(EnumSet<SharedAccessAccountResourceType> resourceTypes)
resourceTypes
- the resourceTypes to setpublic void setRange(IPRange range)
range
- A IPRange
object containing the range of IP addresses.public void setProtocols(SharedAccessProtocols protocols)
protocols
- A SharedAccessProtocols
representing the chosen Internet protocols.public String permissionsToString()
String
.permissionsToString
in class SharedAccessPolicy
String
which represents the shared access permissions.public String resourceTypesToString()
String
.String
which represents the shared access permissions.public String servicesToString()
String
.String
which represents the shared access permissions.public void setPermissionsFromString(String value)
String
.setPermissionsFromString
in class SharedAccessPolicy
value
- A String
which represents the shared access permissions.public void setResourceTypeFromString(String value)
String
.value
- A String
which represents the shared access resource types.public void setServiceFromString(String value)
String
.value
- A String
which represents the shared access services.Copyright © 2018. All Rights Reserved.