Package com.pulumi.aws.batch.inputs
Class SchedulingPolicyFairSharePolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.batch.inputs.SchedulingPolicyFairSharePolicyArgs.Builder
-
- Enclosing class:
- SchedulingPolicyFairSharePolicyArgs
public static final class SchedulingPolicyFairSharePolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SchedulingPolicyFairSharePolicyArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SchedulingPolicyFairSharePolicyArgs defaults)
-
-
Method Detail
-
computeReservation
public SchedulingPolicyFairSharePolicyArgs.Builder computeReservation(@Nullable com.pulumi.core.Output<java.lang.Integer> computeReservation)
- Parameters:
computeReservation- Value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).- Returns:
- builder
-
computeReservation
public SchedulingPolicyFairSharePolicyArgs.Builder computeReservation(java.lang.Integer computeReservation)
- Parameters:
computeReservation- Value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).- Returns:
- builder
-
shareDecaySeconds
public SchedulingPolicyFairSharePolicyArgs.Builder shareDecaySeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> shareDecaySeconds)
- Parameters:
shareDecaySeconds- Time period to use to calculate a fair share percentage for each fair share identifier in use, in seconds. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).- Returns:
- builder
-
shareDecaySeconds
public SchedulingPolicyFairSharePolicyArgs.Builder shareDecaySeconds(java.lang.Integer shareDecaySeconds)
- Parameters:
shareDecaySeconds- Time period to use to calculate a fair share percentage for each fair share identifier in use, in seconds. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).- Returns:
- builder
-
shareDistributions
public SchedulingPolicyFairSharePolicyArgs.Builder shareDistributions(@Nullable com.pulumi.core.Output<java.util.List<SchedulingPolicyFairSharePolicyShareDistributionArgs>> shareDistributions)
- Parameters:
shareDistributions- One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.- Returns:
- builder
-
shareDistributions
public SchedulingPolicyFairSharePolicyArgs.Builder shareDistributions(java.util.List<SchedulingPolicyFairSharePolicyShareDistributionArgs> shareDistributions)
- Parameters:
shareDistributions- One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.- Returns:
- builder
-
shareDistributions
public SchedulingPolicyFairSharePolicyArgs.Builder shareDistributions(SchedulingPolicyFairSharePolicyShareDistributionArgs... shareDistributions)
- Parameters:
shareDistributions- One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see [FairsharePolicy](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.- Returns:
- builder
-
build
public SchedulingPolicyFairSharePolicyArgs build()
-
-