public final class GrantAccessData extends Object
Constructor and Description |
---|
GrantAccessData() |
Modifier and Type | Method and Description |
---|---|
AccessLevel |
access()
Get the access property: The access property.
|
int |
durationInSeconds()
Get the durationInSeconds property: Time duration in seconds until the SAS access expires.
|
void |
validate()
Validates the instance.
|
GrantAccessData |
withAccess(AccessLevel access)
Set the access property: The access property.
|
GrantAccessData |
withDurationInSeconds(int durationInSeconds)
Set the durationInSeconds property: Time duration in seconds until the SAS access expires.
|
public AccessLevel access()
public GrantAccessData withAccess(AccessLevel access)
access
- the access value to set.public int durationInSeconds()
public GrantAccessData withDurationInSeconds(int durationInSeconds)
durationInSeconds
- the durationInSeconds value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.