84 строки
5.9 KiB
YAML
84 строки
5.9 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.batch.protocol.models.UserIdentity"
|
|
fullName: "com.microsoft.azure.batch.protocol.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.microsoft.azure.batch.protocol.models.UserIdentity.UserIdentity()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.UserIdentity.UserIdentity()"
|
|
name: "UserIdentity()"
|
|
nameWithType: "UserIdentity.UserIdentity()"
|
|
syntax: "public UserIdentity()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.batch.protocol.models.UserIdentity.autoUser()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.UserIdentity.autoUser()"
|
|
name: "autoUser()"
|
|
nameWithType: "UserIdentity.autoUser()"
|
|
summary: "Get the user<wbr>Name and auto<wbr>User properties are mutually exclusive; you must specify one but not both."
|
|
syntax: "public AutoUserSpecification autoUser()"
|
|
desc: "Get the userName and autoUser properties are mutually exclusive; you must specify one but not both."
|
|
returns:
|
|
description: "the autoUser value"
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.AutoUserSpecification?alt=com.microsoft.azure.batch.protocol.models.AutoUserSpecification&text=AutoUserSpecification\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.UserIdentity.userName()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.UserIdentity.userName()"
|
|
name: "userName()"
|
|
nameWithType: "UserIdentity.userName()"
|
|
summary: "Get the user<wbr>Name and auto<wbr>User properties are mutually exclusive; you must specify one but not both."
|
|
syntax: "public String userName()"
|
|
desc: "Get 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.microsoft.azure.batch.protocol.models.UserIdentity.withAutoUser(com.microsoft.azure.batch.protocol.models.AutoUserSpecification)"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.UserIdentity.withAutoUser(AutoUserSpecification autoUser)"
|
|
name: "withAutoUser(AutoUserSpecification autoUser)"
|
|
nameWithType: "UserIdentity.withAutoUser(AutoUserSpecification autoUser)"
|
|
summary: "Set the user<wbr>Name and auto<wbr>User properties are mutually exclusive; you must specify one but not both."
|
|
parameters:
|
|
- description: "the autoUser value to set"
|
|
name: "autoUser"
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.AutoUserSpecification?alt=com.microsoft.azure.batch.protocol.models.AutoUserSpecification&text=AutoUserSpecification\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public UserIdentity withAutoUser(AutoUserSpecification autoUser)"
|
|
desc: "Set 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.microsoft.azure.batch.protocol.models.UserIdentity?alt=com.microsoft.azure.batch.protocol.models.UserIdentity&text=UserIdentity\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.UserIdentity.withUserName(java.lang.String)"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.UserIdentity.withUserName(String userName)"
|
|
name: "withUserName(String userName)"
|
|
nameWithType: "UserIdentity.withUserName(String userName)"
|
|
summary: "Set the user<wbr>Name and auto<wbr>User properties are mutually exclusive; you must specify one but not both."
|
|
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 and autoUser properties are mutually exclusive; you must specify one but not both."
|
|
returns:
|
|
description: "the UserIdentity object itself."
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.UserIdentity?alt=com.microsoft.azure.batch.protocol.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.microsoft.azure.batch.protocol.models"
|
|
artifact: com.microsoft.azure:azure-batch:11.2.0
|