BillingRequestPropertiesReviewedBy Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. Principal - com.
azure. resourcemanager. billing. models. BillingRequestPropertiesReviewedBy
- com.
- com.
public final class BillingRequestPropertiesReviewedBy
extends Principal
The principal of the request reviewer. Will only be set if request is approved.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingRequestPropertiesReviewedBy() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Billing |
withObjectId(String objectId)
Set the object |
|
Billing |
withTenantId(String tenantId)
Set the tenant |
|
Billing |
withUpn(String upn)
Set the upn property: The user principal name of the principal who has interacted with a billing entity. |
Methods inherited from Principal
Methods inherited from java.lang.Object
Constructor Details
BillingRequestPropertiesReviewedBy
public BillingRequestPropertiesReviewedBy()
Creates an instance of BillingRequestPropertiesReviewedBy class.
Method Details
fromJson
public static BillingRequestPropertiesReviewedBy fromJson(JsonReader jsonReader)
Reads an instance of BillingRequestPropertiesReviewedBy from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BillingRequestPropertiesReviewedBy.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
BillingRequestPropertiesReviewedBy.validate()withObjectId
public BillingRequestPropertiesReviewedBy withObjectId(String objectId)
Set the objectId property: The object id of the principal who has interacted with a billing entity.
Overrides:
BillingRequestPropertiesReviewedBy.withObjectId(String objectId)Parameters:
withTenantId
public BillingRequestPropertiesReviewedBy withTenantId(String tenantId)
Set the tenantId property: The tenant id of the principal who has interacted with a billing entity.
Overrides:
BillingRequestPropertiesReviewedBy.withTenantId(String tenantId)Parameters:
withUpn
public BillingRequestPropertiesReviewedBy withUpn(String upn)
Set the upn property: The user principal name of the principal who has interacted with a billing entity.
Overrides:
BillingRequestPropertiesReviewedBy.withUpn(String upn)Parameters: