Interface SchedulingPolicyDetail.Builder

  • Method Details

    • name

      The name of the fair-share scheduling policy.

      Parameters:
      name - The name of the fair-share scheduling policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority .

      Parameters:
      arn - The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fairsharePolicy

      SchedulingPolicyDetail.Builder fairsharePolicy(FairsharePolicy fairsharePolicy)

      The fair-share scheduling policy details.

      Parameters:
      fairsharePolicy - The fair-share scheduling policy details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fairsharePolicy

      default SchedulingPolicyDetail.Builder fairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)

      The fair-share scheduling policy details.

      This is a convenience method that creates an instance of the FairsharePolicy.Builder avoiding the need to create one manually via FairsharePolicy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fairsharePolicy(FairsharePolicy).

      Parameters:
      fairsharePolicy - a consumer that will call methods on FairsharePolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags that you apply to the fair-share scheduling policy to categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General Reference.

      Parameters:
      tags - The tags that you apply to the fair-share scheduling policy to categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General Reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.