Interface AccessPolicyResource.DefinitionStages.WithRoles
- All Known Subinterfaces:
AccessPolicyResource.Definition
,AccessPolicyResource.DefinitionStages.WithCreate
- Enclosing interface:
- AccessPolicyResource.DefinitionStages
public static interface AccessPolicyResource.DefinitionStages.WithRoles
The stage of the AccessPolicyResource definition allowing to specify roles.
-
Method Summary
Modifier and TypeMethodDescriptionwithRoles
(List<AccessPolicyRole> roles) Specifies the roles property: The list of roles the principal is assigned on the environment..
-
Method Details
-
withRoles
Specifies the roles property: The list of roles the principal is assigned on the environment..- Parameters:
roles
- The list of roles the principal is assigned on the environment.- Returns:
- the next definition stage.
-