Class UpdateComputePolicyProperties

java.lang.Object
com.azure.resourcemanager.datalakeanalytics.fluent.models.UpdateComputePolicyProperties

public final class UpdateComputePolicyProperties extends Object
The compute policy properties to use when updating a compute policy.
  • Constructor Details

    • UpdateComputePolicyProperties

      public UpdateComputePolicyProperties()
      Creates an instance of UpdateComputePolicyProperties class.
  • Method Details

    • objectId

      public UUID objectId()
      Get the objectId property: The AAD object identifier for the entity to create a policy for.
      Returns:
      the objectId value.
    • withObjectId

      public UpdateComputePolicyProperties withObjectId(UUID objectId)
      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 UpdateComputePolicyProperties object itself.
    • objectType

      public AadObjectType objectType()
      Get the objectType property: The type of AAD object the object identifier refers to.
      Returns:
      the objectType value.
    • withObjectType

      public UpdateComputePolicyProperties withObjectType(AadObjectType objectType)
      Set the objectType property: The type of AAD object the object identifier refers to.
      Parameters:
      objectType - the objectType value to set.
      Returns:
      the UpdateComputePolicyProperties object itself.
    • maxDegreeOfParallelismPerJob

      public Integer 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 UpdateComputePolicyProperties 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 UpdateComputePolicyProperties object itself.
    • minPriorityPerJob

      public Integer 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

      public UpdateComputePolicyProperties withMinPriorityPerJob(Integer minPriorityPerJob)
      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 UpdateComputePolicyProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.