Interface CreateLimitRequest.Builder

  • Method Details

    • clientToken

      CreateLimitRequest.Builder clientToken(String clientToken)

      The unique token which the server uses to recognize retries of the same request.

      Parameters:
      clientToken - The unique token which the server uses to recognize retries of the same request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      CreateLimitRequest.Builder displayName(String displayName)

      The display name of the limit.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      Parameters:
      displayName - The display name of the limit.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amountRequirementName

      CreateLimitRequest.Builder amountRequirementName(String amountRequirementName)

      The value that you specify as the name in the amounts field of the hostRequirements in a step of a job template to declare the limit requirement.

      Parameters:
      amountRequirementName - The value that you specify as the name in the amounts field of the hostRequirements in a step of a job template to declare the limit requirement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxCount

      CreateLimitRequest.Builder maxCount(Integer maxCount)

      The maximum number of resources constrained by this limit. When all of the resources are in use, steps that require the limit won't be scheduled until the resource is available.

      The maxCount must not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.

      Parameters:
      maxCount - The maximum number of resources constrained by this limit. When all of the resources are in use, steps that require the limit won't be scheduled until the resource is available.

      The maxCount must not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • farmId

      The farm ID of the farm that contains the limit.

      Parameters:
      farmId - The farm ID of the farm that contains the limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateLimitRequest.Builder description(String description)

      A description of the limit. A description helps you identify the purpose of the limit.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      Parameters:
      description - A description of the limit. A description helps you identify the purpose of the limit.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.