Permissions<T> Class
- java.
lang. Object - com.
microsoft. azure. storage. Permissions<T>
- com.
Type Parameters
- T
public class Permissions
Represents the permissions for a shared access policy.
Constructor Summary
Constructor | Description |
---|---|
Permissions() |
Creates an instance of the class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
HashMap<String, T> |
getSharedAccessPolicies()
Returns the set of shared access policies. |
void |
setSharedAccessPolicies(final HashMap<String, T> sharedAccessPolicies)
Sets the shared access policies. |
Constructor Details
Permissions
public Permissions()
Creates an instance of the class.
Method Details
getSharedAccessPolicies
public HashMap
Returns the set of shared access policies.
Returns:
A
java.util.HashMap
object of SharedAccessPolicy objects which represent the set of shared access policies.setSharedAccessPolicies
public void setSharedAccessPolicies(final HashMap
Sets the shared access policies.
Parameters:
sharedAccessPolicies
- A
java.util.HashMap
object of SharedAccessPolicy objects which contain the shared access policies to set.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java