AuthenticationTokenSettings Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.AuthenticationTokenSettings

public class AuthenticationTokenSettings

The settings for an authentication token that the task can use to perform Batch service operations.

Method Summary

Modifier and Type Method and Description
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.

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.

Method Details

access

public List 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 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.

Applies to