Class RoleManagementPolicyAssignmentInner

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.RoleManagementPolicyAssignmentInner

public final class RoleManagementPolicyAssignmentInner extends Object
Role management policy.
  • Constructor Details

    • RoleManagementPolicyAssignmentInner

      public RoleManagementPolicyAssignmentInner()
      Creates an instance of RoleManagementPolicyAssignmentInner class.
  • Method Details

    • id

      public String id()
      Get the id property: The role management policy Id.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The role management policy name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The role management policy type.
      Returns:
      the type value.
    • scope

      public String scope()
      Get the scope property: The role management policy scope.
      Returns:
      the scope value.
    • withScope

      public RoleManagementPolicyAssignmentInner withScope(String scope)
      Set the scope property: The role management policy scope.
      Parameters:
      scope - the scope value to set.
      Returns:
      the RoleManagementPolicyAssignmentInner object itself.
    • roleDefinitionId

      public String roleDefinitionId()
      Get the roleDefinitionId property: The role definition of management policy assignment.
      Returns:
      the roleDefinitionId value.
    • withRoleDefinitionId

      public RoleManagementPolicyAssignmentInner withRoleDefinitionId(String roleDefinitionId)
      Set the roleDefinitionId property: The role definition of management policy assignment.
      Parameters:
      roleDefinitionId - the roleDefinitionId value to set.
      Returns:
      the RoleManagementPolicyAssignmentInner object itself.
    • policyId

      public String policyId()
      Get the policyId property: The policy id role management policy assignment.
      Returns:
      the policyId value.
    • withPolicyId

      public RoleManagementPolicyAssignmentInner withPolicyId(String policyId)
      Set the policyId property: The policy id role management policy assignment.
      Parameters:
      policyId - the policyId value to set.
      Returns:
      the RoleManagementPolicyAssignmentInner object itself.
    • effectiveRules

      public List<RoleManagementPolicyRule> effectiveRules()
      Get the effectiveRules property: The readonly computed rule applied to the policy.
      Returns:
      the effectiveRules value.
    • policyAssignmentProperties

      public PolicyAssignmentProperties policyAssignmentProperties()
      Get the policyAssignmentProperties property: Additional properties of scope, role definition and policy.
      Returns:
      the policyAssignmentProperties value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.