Class SchedulingPolicyFairSharePolicyArgs.Builder

    • 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