BillingRoleDefinitionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. BillingRoleDefinitionProperties
- com.
Implements
public final class BillingRoleDefinitionProperties
implements JsonSerializable<BillingRoleDefinitionProperties>
The properties of a role definition.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingRoleDefinitionProperties() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The role description. |
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
|
List<Billing |
permissions()
Get the permissions property: The billing |
| String |
roleName()
Get the role |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Billing |
withRoleName(String roleName)
Set the role |
Methods inherited from java.lang.Object
Constructor Details
BillingRoleDefinitionProperties
public BillingRoleDefinitionProperties()
Creates an instance of BillingRoleDefinitionProperties class.
Method Details
description
public String description()
Get the description property: The role description.
Returns:
fromJson
public static BillingRoleDefinitionProperties fromJson(JsonReader jsonReader)
Reads an instance of BillingRoleDefinitionProperties from the JsonReader.
Parameters:
Returns:
Throws:
permissions
public List<BillingPermissionInner> permissions()
Get the permissions property: The billingPermissions the role has.
Returns:
roleName
public String roleName()
Get the roleName property: The name of the role.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRoleName
public BillingRoleDefinitionProperties withRoleName(String roleName)
Set the roleName property: The name of the role.
Parameters:
Returns: