Interface ReceiveQueueRecordsRequest.Builder

  • Method Details

    • queueARN

      The ARN of the queue to receive records from.

      Parameters:
      queueARN - The ARN of the queue to receive records from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limit

      The maximum number of records to return. The queue never returns more records than this value, and might return fewer. The default is 10.

      Parameters:
      limit - The maximum number of records to return. The queue never returns more records than this value, and might return fewer. The default is 10.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • waitTimeSeconds

      ReceiveQueueRecordsRequest.Builder waitTimeSeconds(Integer waitTimeSeconds)

      The duration, in seconds, that the call waits for a record to become visible before returning. The default is 9.

      Parameters:
      waitTimeSeconds - The duration, in seconds, that the call waits for a record to become visible before returning. The default is 9.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • visibilityTimeoutSeconds

      ReceiveQueueRecordsRequest.Builder visibilityTimeoutSeconds(Integer visibilityTimeoutSeconds)

      The duration, in seconds, that the records returned by this request are in flight and not visible to any consumer instance. If you do not specify this value, the queue's visibility timeout is used.

      Parameters:
      visibilityTimeoutSeconds - The duration, in seconds, that the records returned by this request are in flight and not visible to any consumer instance. If you do not specify this value, the queue's visibility timeout is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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