RoleManagementPolicyRuleTarget Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. RoleManagementPolicyRuleTarget
- com.
Implements
public final class RoleManagementPolicyRuleTarget
implements JsonSerializable<RoleManagementPolicyRuleTarget>
The role management policy rule target.
Constructor Summary
Constructor | Description |
---|---|
RoleManagementPolicyRuleTarget() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
caller()
Get the caller property: The caller of the setting. |
List<String> |
enforcedSettings()
Get the enforced |
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
List<String> |
inheritableSettings()
Get the inheritable |
String |
level()
Get the level property: The assignment level to which rule is applied. |
List<String> |
operations()
Get the operations property: The type of operation. |
List<String> |
targetObjects()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Role |
withCaller(String caller)
Set the caller property: The caller of the setting. |
Role |
withEnforcedSettings(List<String> enforcedSettings)
Set the enforced |
Role |
withInheritableSettings(List<String> inheritableSettings)
Set the inheritable |
Role |
withLevel(String level)
Set the level property: The assignment level to which rule is applied. |
Role |
withOperations(List<String> operations)
Set the operations property: The type of operation. |
Role |
withTargetObjects(List<String> targetObjects)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
RoleManagementPolicyRuleTarget
public RoleManagementPolicyRuleTarget()
Creates an instance of RoleManagementPolicyRuleTarget class.
Method Details
caller
public String caller()
Get the caller property: The caller of the setting.
Returns:
enforcedSettings
public List
Get the enforcedSettings property: The list of enforced settings.
Returns:
fromJson
public static RoleManagementPolicyRuleTarget fromJson(JsonReader jsonReader)
Reads an instance of RoleManagementPolicyRuleTarget from the JsonReader.
Parameters:
Returns:
Throws:
inheritableSettings
public List
Get the inheritableSettings property: The list of inheritable settings.
Returns:
level
public String level()
Get the level property: The assignment level to which rule is applied.
Returns:
operations
public List
Get the operations property: The type of operation.
Returns:
targetObjects
public List
Get the targetObjects property: The list of target objects.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCaller
public RoleManagementPolicyRuleTarget withCaller(String caller)
Set the caller property: The caller of the setting.
Parameters:
Returns:
withEnforcedSettings
public RoleManagementPolicyRuleTarget withEnforcedSettings(List
Set the enforcedSettings property: The list of enforced settings.
Parameters:
Returns:
withInheritableSettings
public RoleManagementPolicyRuleTarget withInheritableSettings(List
Set the inheritableSettings property: The list of inheritable settings.
Parameters:
Returns:
withLevel
public RoleManagementPolicyRuleTarget withLevel(String level)
Set the level property: The assignment level to which rule is applied.
Parameters:
Returns:
withOperations
public RoleManagementPolicyRuleTarget withOperations(List
Set the operations property: The type of operation.
Parameters:
Returns:
withTargetObjects
public RoleManagementPolicyRuleTarget withTargetObjects(List
Set the targetObjects property: The list of target objects.
Parameters:
Returns:
Applies to
Azure SDK for Java