Class AuthenticationTokenSettings
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.AuthenticationTokenSettings
-
public class AuthenticationTokenSettings extends Object
The settings for an authentication token that the Task can use to perform Batch service operations.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationTokenSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessScope>
access()
Get the authentication token grants access to a limited set of Batch service operations.AuthenticationTokenSettings
withAccess(List<AccessScope> access)
Set the authentication token grants access to a limited set of Batch service operations.
-
-
-
Method Detail
-
access
public List<AccessScope> access()
Get the authentication token grants access to a limited set of Batch service operations. Currently the only supported value for the access property is 'job', which grants access to all operations related to the Job which contains the Task.- Returns:
- the access value
-
withAccess
public AuthenticationTokenSettings withAccess(List<AccessScope> access)
Set the authentication token grants access to a limited set of Batch service operations. Currently the only supported value for the access property is 'job', which grants access to all operations related to the Job which contains the Task.- Parameters:
access
- the access value to set- Returns:
- the AuthenticationTokenSettings object itself.
-
-