RoleManagementPolicyRule Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. RoleManagementPolicyRule
- com.
public class RoleManagementPolicyRule
The role management policy rule.
Constructor Summary
Constructor | Description |
---|---|
RoleManagementPolicyRule() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: The id of the rule. |
Role |
target()
Get the target property: The target of the current rule. |
void |
validate()
Validates the instance. |
Role |
withId(String id)
Set the id property: The id of the rule. |
Role |
withTarget(RoleManagementPolicyRuleTarget target)
Set the target property: The target of the current rule. |
Methods inherited from java.lang.Object
Constructor Details
RoleManagementPolicyRule
public RoleManagementPolicyRule()
Creates an instance of RoleManagementPolicyRule class.
Method Details
id
public String id()
Get the id property: The id of the rule.
Returns:
target
public RoleManagementPolicyRuleTarget target()
Get the target property: The target of the current rule.
Returns:
validate
public void validate()
Validates the instance.
withId
public RoleManagementPolicyRule withId(String id)
Set the id property: The id of the rule.
Parameters:
Returns:
withTarget
public RoleManagementPolicyRule withTarget(RoleManagementPolicyRuleTarget target)
Set the target property: The target of the current rule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de