Permissions<T> Class

  • java.lang.Object
    • com.microsoft.azure.storage.Permissions<T>

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 getSharedAccessPolicies()

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 sharedAccessPolicies)

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