azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.b...

150 строки
9.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.billing.models.Principal"
fullName: "com.azure.resourcemanager.billing.models.Principal"
name: "Principal"
nameWithType: "Principal"
summary: "A principal who has interacted with a billing entity."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **Principal**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.Principal?alt=com.azure.resourcemanager.billing.models.Principal&text=Principal\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.billing.models.Principal.Principal()"
fullName: "com.azure.resourcemanager.billing.models.Principal.Principal()"
name: "Principal()"
nameWithType: "Principal.Principal()"
summary: "Creates an instance of Principal class."
syntax: "public Principal()"
desc: "Creates an instance of Principal class."
methods:
- uid: "com.azure.resourcemanager.billing.models.Principal.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.billing.models.Principal.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Principal.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Principal from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Principal fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Principal."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Principal from the JsonReader."
returns:
description: "An instance of Principal if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.billing.models.Principal?alt=com.azure.resourcemanager.billing.models.Principal&text=Principal\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.Principal.objectId()"
fullName: "com.azure.resourcemanager.billing.models.Principal.objectId()"
name: "objectId()"
nameWithType: "Principal.objectId()"
summary: "Get the object<wbr>Id property: The object id of the principal who has interacted with a billing entity."
syntax: "public String objectId()"
desc: "Get the objectId property: The object id of the principal who has interacted with a billing entity."
returns:
description: "the objectId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.billing.models.Principal.tenantId()"
fullName: "com.azure.resourcemanager.billing.models.Principal.tenantId()"
name: "tenantId()"
nameWithType: "Principal.tenantId()"
summary: "Get the tenant<wbr>Id property: The tenant id of the principal who has interacted with a billing entity."
syntax: "public String tenantId()"
desc: "Get the tenantId property: The tenant id of the principal who has interacted with a billing entity."
returns:
description: "the tenantId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.billing.models.Principal.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.billing.models.Principal.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Principal.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.Principal.upn()"
fullName: "com.azure.resourcemanager.billing.models.Principal.upn()"
name: "upn()"
nameWithType: "Principal.upn()"
summary: "Get the upn property: The user principal name of the principal who has interacted with a billing entity."
syntax: "public String upn()"
desc: "Get the upn property: The user principal name of the principal who has interacted with a billing entity."
returns:
description: "the upn value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.billing.models.Principal.validate()"
fullName: "com.azure.resourcemanager.billing.models.Principal.validate()"
name: "validate()"
nameWithType: "Principal.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.billing.models.Principal.withObjectId(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.Principal.withObjectId(String objectId)"
name: "withObjectId(String objectId)"
nameWithType: "Principal.withObjectId(String objectId)"
summary: "Set the object<wbr>Id property: The object id of the principal who has interacted with a billing entity."
parameters:
- description: "the objectId value to set."
name: "objectId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Principal withObjectId(String objectId)"
desc: "Set the objectId property: The object id of the principal who has interacted with a billing entity."
returns:
description: "the Principal object itself."
type: "<xref href=\"com.azure.resourcemanager.billing.models.Principal?alt=com.azure.resourcemanager.billing.models.Principal&text=Principal\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.Principal.withTenantId(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.Principal.withTenantId(String tenantId)"
name: "withTenantId(String tenantId)"
nameWithType: "Principal.withTenantId(String tenantId)"
summary: "Set the tenant<wbr>Id property: The tenant id of the principal who has interacted with a billing entity."
parameters:
- description: "the tenantId value to set."
name: "tenantId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Principal withTenantId(String tenantId)"
desc: "Set the tenantId property: The tenant id of the principal who has interacted with a billing entity."
returns:
description: "the Principal object itself."
type: "<xref href=\"com.azure.resourcemanager.billing.models.Principal?alt=com.azure.resourcemanager.billing.models.Principal&text=Principal\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.Principal.withUpn(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.Principal.withUpn(String upn)"
name: "withUpn(String upn)"
nameWithType: "Principal.withUpn(String upn)"
summary: "Set the upn property: The user principal name of the principal who has interacted with a billing entity."
parameters:
- description: "the upn value to set."
name: "upn"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Principal withUpn(String upn)"
desc: "Set the upn property: The user principal name of the principal who has interacted with a billing entity."
returns:
description: "the Principal object itself."
type: "<xref href=\"com.azure.resourcemanager.billing.models.Principal?alt=com.azure.resourcemanager.billing.models.Principal&text=Principal\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A principal who has interacted with a billing entity."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.Principal?alt=com.azure.resourcemanager.billing.models.Principal&text=Principal\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.billing.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-billing:1.0.0