public class GrantAccessData extends Object
Constructor and Description |
---|
GrantAccessData() |
Modifier and Type | Method and Description |
---|---|
AccessLevel |
access()
Get possible values include: 'None', 'Read', 'Write'.
|
int |
durationInSeconds()
Get time duration in seconds until the SAS access expires.
|
GrantAccessData |
withAccess(AccessLevel access)
Set possible values include: 'None', 'Read', 'Write'.
|
GrantAccessData |
withDurationInSeconds(int durationInSeconds)
Set time duration in seconds until the SAS access expires.
|
public AccessLevel access()
public GrantAccessData withAccess(AccessLevel access)
access
- the access value to setpublic int durationInSeconds()
public GrantAccessData withDurationInSeconds(int durationInSeconds)
durationInSeconds
- the durationInSeconds value to setCopyright © 2019. All rights reserved.