Interface CreateQueueRequest.Builder

  • Method Details

    • clusterIdentifier

      CreateQueueRequest.Builder clusterIdentifier(String clusterIdentifier)

      The name or ID of the cluster for which to create a queue.

      Parameters:
      clusterIdentifier - The name or ID of the cluster for which to create a queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queueName

      CreateQueueRequest.Builder queueName(String queueName)

      A name to identify the queue.

      Parameters:
      queueName - A name to identify the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeNodeGroupConfigurations

      CreateQueueRequest.Builder computeNodeGroupConfigurations(Collection<ComputeNodeGroupConfiguration> computeNodeGroupConfigurations)

      The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.

      Parameters:
      computeNodeGroupConfigurations - The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeNodeGroupConfigurations

      CreateQueueRequest.Builder computeNodeGroupConfigurations(ComputeNodeGroupConfiguration... computeNodeGroupConfigurations)

      The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.

      Parameters:
      computeNodeGroupConfigurations - The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeNodeGroupConfigurations

      CreateQueueRequest.Builder computeNodeGroupConfigurations(Consumer<ComputeNodeGroupConfiguration.Builder>... computeNodeGroupConfigurations)

      The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to computeNodeGroupConfigurations(List<ComputeNodeGroupConfiguration>).

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

      CreateQueueRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.

      Parameters:
      tags - 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateQueueRequest.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.