Class RoleManagementPolicyInner

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

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

    • RoleManagementPolicyInner

      public RoleManagementPolicyInner()
      Creates an instance of RoleManagementPolicyInner 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 RoleManagementPolicyInner withScope(String scope)
      Set the scope property: The role management policy scope.
      Parameters:
      scope - the scope value to set.
      Returns:
      the RoleManagementPolicyInner object itself.
    • displayName

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

      public RoleManagementPolicyInner withDisplayName(String displayName)
      Set the displayName property: The role management policy display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the RoleManagementPolicyInner object itself.
    • description

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

      public RoleManagementPolicyInner withDescription(String description)
      Set the description property: The role management policy description.
      Parameters:
      description - the description value to set.
      Returns:
      the RoleManagementPolicyInner object itself.
    • isOrganizationDefault

      public Boolean isOrganizationDefault()
      Get the isOrganizationDefault property: The role management policy is default policy.
      Returns:
      the isOrganizationDefault value.
    • withIsOrganizationDefault

      public RoleManagementPolicyInner withIsOrganizationDefault(Boolean isOrganizationDefault)
      Set the isOrganizationDefault property: The role management policy is default policy.
      Parameters:
      isOrganizationDefault - the isOrganizationDefault value to set.
      Returns:
      the RoleManagementPolicyInner object itself.
    • lastModifiedBy

      public Principal lastModifiedBy()
      Get the lastModifiedBy property: The name of the entity last modified it.
      Returns:
      the lastModifiedBy value.
    • lastModifiedDateTime

      public OffsetDateTime lastModifiedDateTime()
      Get the lastModifiedDateTime property: The last modified date time.
      Returns:
      the lastModifiedDateTime value.
    • rules

      public List<RoleManagementPolicyRule> rules()
      Get the rules property: The rule applied to the policy.
      Returns:
      the rules value.
    • withRules

      Set the rules property: The rule applied to the policy.
      Parameters:
      rules - the rules value to set.
      Returns:
      the RoleManagementPolicyInner object itself.
    • effectiveRules

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

      public PolicyProperties policyProperties()
      Get the policyProperties property: Additional properties of scope.
      Returns:
      the policyProperties value.
    • validate

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