public final class AccessPolicyResponseInner extends Object
| Constructor and Description |
|---|
AccessPolicyResponseInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
Get the accessToken property: Data Plane read only access token.
|
String |
dataPlaneUrl()
Get the dataPlaneUrl property: Data Plane service base URL.
|
UserAccessPolicy |
policy()
Get the policy property: The user access policy.
|
void |
validate()
Validates the instance.
|
AccessPolicyResponseInner |
withAccessToken(String accessToken)
Set the accessToken property: Data Plane read only access token.
|
AccessPolicyResponseInner |
withDataPlaneUrl(String dataPlaneUrl)
Set the dataPlaneUrl property: Data Plane service base URL.
|
AccessPolicyResponseInner |
withPolicy(UserAccessPolicy policy)
Set the policy property: The user access policy.
|
public UserAccessPolicy policy()
public AccessPolicyResponseInner withPolicy(UserAccessPolicy policy)
policy - the policy value to set.public String accessToken()
public AccessPolicyResponseInner withAccessToken(String accessToken)
accessToken - the accessToken value to set.public String dataPlaneUrl()
public AccessPolicyResponseInner withDataPlaneUrl(String dataPlaneUrl)
dataPlaneUrl - the dataPlaneUrl value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.