Class ExpandedProperties
java.lang.Object
com.azure.resourcemanager.authorization.models.ExpandedProperties
The ExpandedProperties model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the principal property: Details of the principal.Get the roleDefinition property: Details of role definition.scope()Get the scope property: Details of the resource scope.voidvalidate()Validates the instance.withPrincipal(ExpandedPropertiesPrincipal principal) Set the principal property: Details of the principal.withRoleDefinition(ExpandedPropertiesRoleDefinition roleDefinition) Set the roleDefinition property: Details of role definition.withScope(ExpandedPropertiesScope scope) Set the scope property: Details of the resource scope.
-
Constructor Details
-
ExpandedProperties
public ExpandedProperties()Creates an instance of ExpandedProperties class.
-
-
Method Details
-
scope
Get the scope property: Details of the resource scope.- Returns:
- the scope value.
-
withScope
Set the scope property: Details of the resource scope.- Parameters:
scope- the scope value to set.- Returns:
- the ExpandedProperties object itself.
-
roleDefinition
Get the roleDefinition property: Details of role definition.- Returns:
- the roleDefinition value.
-
withRoleDefinition
Set the roleDefinition property: Details of role definition.- Parameters:
roleDefinition- the roleDefinition value to set.- Returns:
- the ExpandedProperties object itself.
-
principal
Get the principal property: Details of the principal.- Returns:
- the principal value.
-
withPrincipal
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.
-