Class AccessPolicyResponseInner
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.AccessPolicyResponseInner
-
public final class AccessPolicyResponseInner extends Object
Get Data Plane read only token response definition.
-
-
Constructor Summary
Constructors Constructor Description AccessPolicyResponseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
policy
public UserAccessPolicy policy()
Get the policy property: The user access policy.- Returns:
- the policy value.
-
withPolicy
public AccessPolicyResponseInner withPolicy(UserAccessPolicy policy)
Set the policy property: The user access policy.- Parameters:
policy
- the policy value to set.- Returns:
- the AccessPolicyResponseInner object itself.
-
accessToken
public String accessToken()
Get the accessToken property: Data Plane read only access token.- Returns:
- the accessToken value.
-
withAccessToken
public AccessPolicyResponseInner withAccessToken(String accessToken)
Set the accessToken property: Data Plane read only access token.- Parameters:
accessToken
- the accessToken value to set.- Returns:
- the AccessPolicyResponseInner object itself.
-
dataPlaneUrl
public String dataPlaneUrl()
Get the dataPlaneUrl property: Data Plane service base URL.- Returns:
- the dataPlaneUrl value.
-
withDataPlaneUrl
public AccessPolicyResponseInner withDataPlaneUrl(String dataPlaneUrl)
Set the dataPlaneUrl property: Data Plane service base URL.- Parameters:
dataPlaneUrl
- the dataPlaneUrl value to set.- Returns:
- the AccessPolicyResponseInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-