Interface ComputeQuotaConfig.Builder

    • Method Detail

      • computeQuotaResources

        ComputeQuotaConfig.Builder computeQuotaResources​(Collection<ComputeQuotaResourceConfig> computeQuotaResources)

        Allocate compute resources by instance types.

        Parameters:
        computeQuotaResources - Allocate compute resources by instance types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • computeQuotaResources

        ComputeQuotaConfig.Builder computeQuotaResources​(ComputeQuotaResourceConfig... computeQuotaResources)

        Allocate compute resources by instance types.

        Parameters:
        computeQuotaResources - Allocate compute resources by instance types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceSharingConfig

        ComputeQuotaConfig.Builder resourceSharingConfig​(ResourceSharingConfig resourceSharingConfig)

        Resource sharing configuration. This defines how an entity can lend and borrow idle compute with other entities within the cluster.

        Parameters:
        resourceSharingConfig - Resource sharing configuration. This defines how an entity can lend and borrow idle compute with other entities within the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preemptTeamTasks

        ComputeQuotaConfig.Builder preemptTeamTasks​(String preemptTeamTasks)

        Allows workloads from within an entity to preempt same-team workloads. When set to LowerPriority , the entity's lower priority tasks are preempted by their own higher priority tasks.

        Default is LowerPriority.

        Parameters:
        preemptTeamTasks - Allows workloads from within an entity to preempt same-team workloads. When set to LowerPriority, the entity's lower priority tasks are preempted by their own higher priority tasks.

        Default is LowerPriority.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PreemptTeamTasks, PreemptTeamTasks
      • preemptTeamTasks

        ComputeQuotaConfig.Builder preemptTeamTasks​(PreemptTeamTasks preemptTeamTasks)

        Allows workloads from within an entity to preempt same-team workloads. When set to LowerPriority , the entity's lower priority tasks are preempted by their own higher priority tasks.

        Default is LowerPriority.

        Parameters:
        preemptTeamTasks - Allows workloads from within an entity to preempt same-team workloads. When set to LowerPriority, the entity's lower priority tasks are preempted by their own higher priority tasks.

        Default is LowerPriority.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PreemptTeamTasks, PreemptTeamTasks