java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.customerinsights.fluent.models.AuthorizationPolicyResourceFormatInner
public final class AuthorizationPolicyResourceFormatInner
extends com.azure.core.management.ProxyResource
The authorization policy resource format.
-
Constructor Summary
Constructors
Creates an instance of AuthorizationPolicyResourceFormatInner 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 com.azure.core.management.ProxyResource
id, name, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AuthorizationPolicyResourceFormatInner
public AuthorizationPolicyResourceFormatInner()
Creates an instance of AuthorizationPolicyResourceFormatInner 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 AuthorizationPolicyResourceFormatInner 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 AuthorizationPolicyResourceFormatInner 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 AuthorizationPolicyResourceFormatInner object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.