Class UserIdentity
- java.lang.Object
-
- com.microsoft.azure.management.batch.UserIdentity
-
public class UserIdentity extends Object
The definition of the user identity under which the task is run. Specify either the userName or autoUser property, but not both.
-
-
Constructor Summary
Constructors Constructor Description UserIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoUserSpecificationautoUser()Get the autoUser value.StringuserName()Get the userName value.UserIdentitywithAutoUser(AutoUserSpecification autoUser)Set the autoUser value.UserIdentitywithUserName(String userName)Set the userName value.
-
-
-
Method Detail
-
userName
public String userName()
Get the userName value.- Returns:
- the userName value
-
withUserName
public UserIdentity withUserName(String userName)
Set the userName value.- Parameters:
userName- the userName value to set- Returns:
- the UserIdentity object itself.
-
autoUser
public AutoUserSpecification autoUser()
Get the autoUser value.- Returns:
- the autoUser value
-
withAutoUser
public UserIdentity withAutoUser(AutoUserSpecification autoUser)
Set the autoUser value.- Parameters:
autoUser- the autoUser value to set- Returns:
- the UserIdentity object itself.
-
-