Class CreateComputePolicyWithAccountParameters
java.lang.Object
com.microsoft.azure.management.datalake.analytics.models.CreateComputePolicyWithAccountParameters
The parameters used to create a new compute policy while creating a new Data
Lake Analytics account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the maximum degree of parallelism per job this user can use to submit jobs.Get the minimum priority per job this user can use to submit jobs.name()
Get the unique name of the compute policy to create.objectId()
Get the AAD object identifier for the entity to create a policy for.Get the type of AAD object the object identifier refers to.withMaxDegreeOfParallelismPerJob
(Integer maxDegreeOfParallelismPerJob) Set the maximum degree of parallelism per job this user can use to submit jobs.withMinPriorityPerJob
(Integer minPriorityPerJob) Set the minimum priority per job this user can use to submit jobs.Set the unique name of the compute policy to create.withObjectId
(UUID objectId) Set the AAD object identifier for the entity to create a policy for.withObjectType
(AADObjectType objectType) Set the type of AAD object the object identifier refers to.
-
Constructor Details
-
CreateComputePolicyWithAccountParameters
public CreateComputePolicyWithAccountParameters()
-
-
Method Details
-
name
Get the unique name of the compute policy to create.- Returns:
- the name value
-
withName
Set the unique name of the compute policy to create.- Parameters:
name
- the name value to set- Returns:
- the CreateComputePolicyWithAccountParameters object itself.
-
objectId
Get the AAD object identifier for the entity to create a policy for.- Returns:
- the objectId value
-
withObjectId
Set the AAD object identifier for the entity to create a policy for.- Parameters:
objectId
- the objectId value to set- Returns:
- the CreateComputePolicyWithAccountParameters object itself.
-
objectType
Get the type of AAD object the object identifier refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'.- Returns:
- the objectType value
-
withObjectType
Set the type of AAD object the object identifier refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'.- Parameters:
objectType
- the objectType value to set- Returns:
- the CreateComputePolicyWithAccountParameters object itself.
-
maxDegreeOfParallelismPerJob
Get the maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.- Returns:
- the maxDegreeOfParallelismPerJob value
-
withMaxDegreeOfParallelismPerJob
public CreateComputePolicyWithAccountParameters withMaxDegreeOfParallelismPerJob(Integer maxDegreeOfParallelismPerJob) Set the maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.- Parameters:
maxDegreeOfParallelismPerJob
- the maxDegreeOfParallelismPerJob value to set- Returns:
- the CreateComputePolicyWithAccountParameters object itself.
-
minPriorityPerJob
Get the minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.- Returns:
- the minPriorityPerJob value
-
withMinPriorityPerJob
Set the minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.- Parameters:
minPriorityPerJob
- the minPriorityPerJob value to set- Returns:
- the CreateComputePolicyWithAccountParameters object itself.
-