Class UserIdentity
java.lang.Object
com.microsoft.azure.management.batch.UserIdentity
The definition of the user identity under which the task is run.
Specify either the userName or autoUser property, but not both.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoUser()
Get the userName and autoUser properties are mutually exclusive; you must specify one but not both.userName()
Get the userName and autoUser properties are mutually exclusive; you must specify one but not both.withAutoUser
(AutoUserSpecification autoUser) Set the userName and autoUser properties are mutually exclusive; you must specify one but not both.withUserName
(String userName) Set the userName and autoUser properties are mutually exclusive; you must specify one but not both.
-
Constructor Details
-
UserIdentity
public UserIdentity()
-
-
Method Details
-
userName
Get the userName and autoUser properties are mutually exclusive; you must specify one but not both.- Returns:
- the userName value
-
withUserName
Set the userName and autoUser properties are mutually exclusive; you must specify one but not both.- Parameters:
userName
- the userName value to set- Returns:
- the UserIdentity object itself.
-
autoUser
Get the userName and autoUser properties are mutually exclusive; you must specify one but not both.- Returns:
- the autoUser value
-
withAutoUser
Set the userName and autoUser properties are mutually exclusive; you must specify one but not both.- Parameters:
autoUser
- the autoUser value to set- Returns:
- the UserIdentity object itself.
-