public final class UserAccessPolicy extends Object
| Constructor and Description |
|---|
UserAccessPolicy() |
| Modifier and Type | Method and Description |
|---|---|
String |
accessResourcePath()
Get the accessResourcePath property: The resource path to get access relative to factory.
|
String |
expireTime()
Get the expireTime property: Expiration time for the token.
|
String |
permissions()
Get the permissions property: The string with permissions for Data Plane access.
|
String |
profileName()
Get the profileName property: The name of the profile.
|
String |
startTime()
Get the startTime property: Start time for the token.
|
void |
validate()
Validates the instance.
|
UserAccessPolicy |
withAccessResourcePath(String accessResourcePath)
Set the accessResourcePath property: The resource path to get access relative to factory.
|
UserAccessPolicy |
withExpireTime(String expireTime)
Set the expireTime property: Expiration time for the token.
|
UserAccessPolicy |
withPermissions(String permissions)
Set the permissions property: The string with permissions for Data Plane access.
|
UserAccessPolicy |
withProfileName(String profileName)
Set the profileName property: The name of the profile.
|
UserAccessPolicy |
withStartTime(String startTime)
Set the startTime property: Start time for the token.
|
public String permissions()
public UserAccessPolicy withPermissions(String permissions)
permissions - the permissions value to set.public String accessResourcePath()
public UserAccessPolicy withAccessResourcePath(String accessResourcePath)
accessResourcePath - the accessResourcePath value to set.public String profileName()
public UserAccessPolicy withProfileName(String profileName)
profileName - the profileName value to set.public String startTime()
public UserAccessPolicy withStartTime(String startTime)
startTime - the startTime value to set.public String expireTime()
public UserAccessPolicy withExpireTime(String expireTime)
expireTime - the expireTime value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.