Class GrantAccessData
java.lang.Object
com.microsoft.azure.management.compute.GrantAccessData
Data used for requesting a SAS.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccess()
Get possible values include: 'None', 'Read', 'Write'.int
Get time duration in seconds until the SAS access expires.withAccess
(AccessLevel access) Set possible values include: 'None', 'Read', 'Write'.withDurationInSeconds
(int durationInSeconds) Set time duration in seconds until the SAS access expires.
-
Constructor Details
-
GrantAccessData
public GrantAccessData()
-
-
Method Details
-
access
Get possible values include: 'None', 'Read', 'Write'.- Returns:
- the access value
-
withAccess
Set possible values include: 'None', 'Read', 'Write'.- Parameters:
access
- the access value to set- Returns:
- the GrantAccessData object itself.
-
durationInSeconds
public int durationInSeconds()Get time duration in seconds until the SAS access expires.- Returns:
- the durationInSeconds value
-
withDurationInSeconds
Set time duration in seconds until the SAS access expires.- Parameters:
durationInSeconds
- the durationInSeconds value to set- Returns:
- the GrantAccessData object itself.
-