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

91 строка
6.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.batch.models.UserIdentity"
fullName: "com.azure.resourcemanager.batch.models.UserIdentity"
name: "UserIdentity"
nameWithType: "UserIdentity"
summary: "The definition of the user identity under which the task is run."
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 **UserIdentity**"
constructors:
- uid: "com.azure.resourcemanager.batch.models.UserIdentity.UserIdentity()"
fullName: "com.azure.resourcemanager.batch.models.UserIdentity.UserIdentity()"
name: "UserIdentity()"
nameWithType: "UserIdentity.UserIdentity()"
syntax: "public UserIdentity()"
methods:
- uid: "com.azure.resourcemanager.batch.models.UserIdentity.autoUser()"
fullName: "com.azure.resourcemanager.batch.models.UserIdentity.autoUser()"
name: "autoUser()"
nameWithType: "UserIdentity.autoUser()"
summary: "Get the auto<wbr>User property: Specifies the parameters for the auto user that runs a task on the Batch service."
syntax: "public AutoUserSpecification autoUser()"
desc: "Get the autoUser property: Specifies the parameters for the auto user that runs a task on the Batch service. The userName and autoUser properties are mutually exclusive; you must specify one but not both."
returns:
description: "the autoUser value."
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoUserSpecification?alt=com.azure.resourcemanager.batch.models.AutoUserSpecification&text=AutoUserSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.UserIdentity.username()"
fullName: "com.azure.resourcemanager.batch.models.UserIdentity.username()"
name: "username()"
nameWithType: "UserIdentity.username()"
summary: "Get the username property: The name of the user identity under which the task is run."
syntax: "public String username()"
desc: "Get the username property: The name of the user identity under which the task is run. The userName and autoUser properties are mutually exclusive; you must specify one but not both."
returns:
description: "the username value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.batch.models.UserIdentity.validate()"
fullName: "com.azure.resourcemanager.batch.models.UserIdentity.validate()"
name: "validate()"
nameWithType: "UserIdentity.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.batch.models.UserIdentity.withAutoUser(com.azure.resourcemanager.batch.models.AutoUserSpecification)"
fullName: "com.azure.resourcemanager.batch.models.UserIdentity.withAutoUser(AutoUserSpecification autoUser)"
name: "withAutoUser(AutoUserSpecification autoUser)"
nameWithType: "UserIdentity.withAutoUser(AutoUserSpecification autoUser)"
summary: "Set the auto<wbr>User property: Specifies the parameters for the auto user that runs a task on the Batch service."
parameters:
- description: "the autoUser value to set."
name: "autoUser"
type: "<xref href=\"com.azure.resourcemanager.batch.models.AutoUserSpecification?alt=com.azure.resourcemanager.batch.models.AutoUserSpecification&text=AutoUserSpecification\" data-throw-if-not-resolved=\"False\" />"
syntax: "public UserIdentity withAutoUser(AutoUserSpecification autoUser)"
desc: "Set the autoUser property: Specifies the parameters for the auto user that runs a task on the Batch service. The userName and autoUser properties are mutually exclusive; you must specify one but not both."
returns:
description: "the UserIdentity object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.UserIdentity?alt=com.azure.resourcemanager.batch.models.UserIdentity&text=UserIdentity\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.UserIdentity.withUsername(java.lang.String)"
fullName: "com.azure.resourcemanager.batch.models.UserIdentity.withUsername(String username)"
name: "withUsername(String username)"
nameWithType: "UserIdentity.withUsername(String username)"
summary: "Set the username property: The name of the user identity under which the task is run."
parameters:
- description: "the username value to set."
name: "username"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public UserIdentity withUsername(String username)"
desc: "Set the username property: The name of the user identity under which the task is run. The userName and autoUser properties are mutually exclusive; you must specify one but not both."
returns:
description: "the UserIdentity object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.UserIdentity?alt=com.azure.resourcemanager.batch.models.UserIdentity&text=UserIdentity\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The definition of the user identity under which the task is run. Specify either the userName or autoUser property, but not both."
metadata: {}
package: "com.azure.resourcemanager.batch.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-batch:1.0.0