java.lang.Object
com.azure.resourcemanager.customerinsights.fluent.models.AuthorizationPolicyInner
public final class AuthorizationPolicyInner
extends Object
The authorization policy.
-
Constructor Summary
Constructors
Creates an instance of AuthorizationPolicyInner class.
-
Method Summary
Get the permissions property: The permissions associated with the policy.
Get the policyName property: Name of the policy.
Get the primaryKey property: Primary key associated with the policy.
Get the secondaryKey property: Secondary key associated with the policy.
void
Set the permissions property: The permissions associated with the policy.
Set the primaryKey property: Primary key associated with the policy.
Set the secondaryKey property: Secondary key associated with the policy.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AuthorizationPolicyInner
public AuthorizationPolicyInner()
Creates an instance of AuthorizationPolicyInner class.
-
Method Details
-
policyName
Get the policyName property: Name of the policy.
- Returns:
- the policyName value.
-
permissions
Get the permissions property: The permissions associated with the policy.
- Returns:
- the permissions value.
-
withPermissions
Set the permissions property: The permissions associated with the policy.
- Parameters:
permissions
- the permissions value to set.
- Returns:
- the AuthorizationPolicyInner object itself.
-
primaryKey
Get the primaryKey property: Primary key associated with the policy.
- Returns:
- the primaryKey value.
-
withPrimaryKey
Set the primaryKey property: Primary key associated with the policy.
- Parameters:
primaryKey
- the primaryKey value to set.
- Returns:
- the AuthorizationPolicyInner object itself.
-
secondaryKey
Get the secondaryKey property: Secondary key associated with the policy.
- Returns:
- the secondaryKey value.
-
withSecondaryKey
Set the secondaryKey property: Secondary key associated with the policy.
- Parameters:
secondaryKey
- the secondaryKey value to set.
- Returns:
- the AuthorizationPolicyInner object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.