BillingRequestPropertiesCreatedBy Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. Principal - com.
azure. resourcemanager. billing. models. BillingRequestPropertiesCreatedBy
- com.
- com.
public final class BillingRequestPropertiesCreatedBy
extends Principal
The principal of the entity who created the request.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingRequestPropertiesCreatedBy() |
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
BillingRequestPropertiesCreatedBy
public BillingRequestPropertiesCreatedBy()
Creates an instance of BillingRequestPropertiesCreatedBy class.
Method Details
fromJson
public static BillingRequestPropertiesCreatedBy fromJson(JsonReader jsonReader)
Reads an instance of BillingRequestPropertiesCreatedBy from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BillingRequestPropertiesCreatedBy.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
BillingRequestPropertiesCreatedBy.validate()withObjectId
public BillingRequestPropertiesCreatedBy withObjectId(String objectId)
Set the objectId property: The object id of the principal who has interacted with a billing entity.
Overrides:
BillingRequestPropertiesCreatedBy.withObjectId(String objectId)Parameters:
withTenantId
public BillingRequestPropertiesCreatedBy withTenantId(String tenantId)
Set the tenantId property: The tenant id of the principal who has interacted with a billing entity.
Overrides:
BillingRequestPropertiesCreatedBy.withTenantId(String tenantId)Parameters:
withUpn
public BillingRequestPropertiesCreatedBy withUpn(String upn)
Set the upn property: The user principal name of the principal who has interacted with a billing entity.
Overrides:
BillingRequestPropertiesCreatedBy.withUpn(String upn)Parameters: