Class CreateOrUpdateComputePolicyProperties
java.lang.Object
com.azure.resourcemanager.datalakeanalytics.fluent.models.CreateOrUpdateComputePolicyProperties
The compute policy properties to use when creating a new compute policy.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CreateOrUpdateComputePolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the maxDegreeOfParallelismPerJob property: The maximum degree of parallelism per job this user can use to submit jobs.Get the minPriorityPerJob property: The minimum priority per job this user can use to submit jobs.objectId()
Get the objectId property: The AAD object identifier for the entity to create a policy for.Get the objectType property: The type of AAD object the object identifier refers to.void
validate()
Validates the instance.withMaxDegreeOfParallelismPerJob
(Integer maxDegreeOfParallelismPerJob) Set the maxDegreeOfParallelismPerJob property: The maximum degree of parallelism per job this user can use to submit jobs.withMinPriorityPerJob
(Integer minPriorityPerJob) Set the minPriorityPerJob property: The minimum priority per job this user can use to submit jobs.withObjectId
(UUID objectId) Set the objectId property: The AAD object identifier for the entity to create a policy for.withObjectType
(AadObjectType objectType) Set the objectType property: The type of AAD object the object identifier refers to.
-
Constructor Details
-
CreateOrUpdateComputePolicyProperties
public CreateOrUpdateComputePolicyProperties()Creates an instance of CreateOrUpdateComputePolicyProperties class.
-
-
Method Details
-
objectId
Get the objectId property: The AAD object identifier for the entity to create a policy for.- Returns:
- the objectId value.
-
withObjectId
Set the objectId property: The AAD object identifier for the entity to create a policy for.- Parameters:
objectId
- the objectId value to set.- Returns:
- the CreateOrUpdateComputePolicyProperties object itself.
-
objectType
Get the objectType property: The type of AAD object the object identifier refers to.- Returns:
- the objectType value.
-
withObjectType
Set the objectType property: The type of AAD object the object identifier refers to.- Parameters:
objectType
- the objectType value to set.- Returns:
- the CreateOrUpdateComputePolicyProperties object itself.
-
maxDegreeOfParallelismPerJob
Get the maxDegreeOfParallelismPerJob property: 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 CreateOrUpdateComputePolicyProperties withMaxDegreeOfParallelismPerJob(Integer maxDegreeOfParallelismPerJob) Set the maxDegreeOfParallelismPerJob property: 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 CreateOrUpdateComputePolicyProperties object itself.
-
minPriorityPerJob
Get the minPriorityPerJob property: 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 minPriorityPerJob property: 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 CreateOrUpdateComputePolicyProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-