Class ExpandedProperties

java.lang.Object
com.azure.resourcemanager.authorization.models.ExpandedProperties

public final class ExpandedProperties extends Object
The ExpandedProperties model.
  • Constructor Details

    • ExpandedProperties

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

    • scope

      public ExpandedPropertiesScope scope()
      Get the scope property: Details of the resource scope.
      Returns:
      the scope value.
    • withScope

      public ExpandedProperties withScope(ExpandedPropertiesScope scope)
      Set the scope property: Details of the resource scope.
      Parameters:
      scope - the scope value to set.
      Returns:
      the ExpandedProperties object itself.
    • roleDefinition

      public ExpandedPropertiesRoleDefinition roleDefinition()
      Get the roleDefinition property: Details of role definition.
      Returns:
      the roleDefinition value.
    • withRoleDefinition

      public ExpandedProperties withRoleDefinition(ExpandedPropertiesRoleDefinition roleDefinition)
      Set the roleDefinition property: Details of role definition.
      Parameters:
      roleDefinition - the roleDefinition value to set.
      Returns:
      the ExpandedProperties object itself.
    • principal

      public ExpandedPropertiesPrincipal principal()
      Get the principal property: Details of the principal.
      Returns:
      the principal value.
    • withPrincipal

      public ExpandedProperties withPrincipal(ExpandedPropertiesPrincipal principal)
      Set the principal property: Details of the principal.
      Parameters:
      principal - the principal value to set.
      Returns:
      the ExpandedProperties object itself.
    • validate

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