Class ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment
java.lang.Object
com.azure.resourcemanager.devcenter.models.ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment
The role definition assigned to the environment creator on backing resources.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment
public ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment()
-
-
Method Details
-
roles
Get the roles property: A map of roles to assign to the environment creator.- Returns:
- the roles value.
-
withRoles
public ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment withRoles(Map<String, EnvironmentRole> roles) Set the roles property: A map of roles to assign to the environment creator.- Parameters:
roles
- the roles value to set.- Returns:
- the ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-