Class PolicyAssignmentPropertiesRoleDefinition
java.lang.Object
com.azure.resourcemanager.authorization.models.PolicyAssignmentPropertiesRoleDefinition
Details of role definition.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PolicyAssignmentPropertiesRoleDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name of the role definition.id()Get the id property: Id of the role definition.type()Get the type property: Type of the role definition.voidvalidate()Validates the instance.withDisplayName(String displayName) Set the displayName property: Display name of the role definition.Set the id property: Id of the role definition.Set the type property: Type of the role definition.
-
Constructor Details
-
PolicyAssignmentPropertiesRoleDefinition
public PolicyAssignmentPropertiesRoleDefinition()Creates an instance of PolicyAssignmentPropertiesRoleDefinition class.
-
-
Method Details
-
id
Get the id property: Id of the role definition.- Returns:
- the id value.
-
withId
Set the id property: Id of the role definition.- Parameters:
id- the id value to set.- Returns:
- the PolicyAssignmentPropertiesRoleDefinition object itself.
-
displayName
Get the displayName property: Display name of the role definition.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the role definition.- Parameters:
displayName- the displayName value to set.- Returns:
- the PolicyAssignmentPropertiesRoleDefinition object itself.
-
type
Get the type property: Type of the role definition.- Returns:
- the type value.
-
withType
Set the type property: Type of the role definition.- Parameters:
type- the type value to set.- Returns:
- the PolicyAssignmentPropertiesRoleDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-