Interface QueueDescription.Builder

  • Method Details

    • queueName

      QueueDescription.Builder queueName(String queueName)

      The name of the queue.

      Parameters:
      queueName - The name of the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queueARN

      QueueDescription.Builder queueARN(String queueARN)

      The ARN of the queue. The resource identifier in the ARN is generated when the queue is created and is not derived from QueueName. Use the returned QueueARN to identify the queue in subsequent requests.

      Parameters:
      queueARN - The ARN of the queue. The resource identifier in the ARN is generated when the queue is created and is not derived from QueueName. Use the returned QueueARN to identify the queue in subsequent requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queueStatus

      QueueDescription.Builder queueStatus(String queueStatus)

      The current status of the queue.

      Parameters:
      queueStatus - The current status of the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queueStatus

      QueueDescription.Builder queueStatus(QueueStatus queueStatus)

      The current status of the queue.

      Parameters:
      queueStatus - The current status of the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queueCreationTimestamp

      QueueDescription.Builder queueCreationTimestamp(Instant queueCreationTimestamp)

      The time the queue was created.

      Parameters:
      queueCreationTimestamp - The time the queue was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamConfigurationList

      QueueDescription.Builder streamConfigurationList(Collection<QueueStreamConfiguration> streamConfigurationList)

      The data stream the queue delivers records from, and the position in that stream where delivery begins. The list contains exactly one entry, because a queue delivers records from a single data stream.

      Parameters:
      streamConfigurationList - The data stream the queue delivers records from, and the position in that stream where delivery begins. The list contains exactly one entry, because a queue delivers records from a single data stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamConfigurationList

      QueueDescription.Builder streamConfigurationList(QueueStreamConfiguration... streamConfigurationList)

      The data stream the queue delivers records from, and the position in that stream where delivery begins. The list contains exactly one entry, because a queue delivers records from a single data stream.

      Parameters:
      streamConfigurationList - The data stream the queue delivers records from, and the position in that stream where delivery begins. The list contains exactly one entry, because a queue delivers records from a single data stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamConfigurationList

      QueueDescription.Builder streamConfigurationList(Consumer<QueueStreamConfiguration.Builder>... streamConfigurationList)

      The data stream the queue delivers records from, and the position in that stream where delivery begins. The list contains exactly one entry, because a queue delivers records from a single data stream.

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

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

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

      QueueDescription.Builder queueAttributes(QueueAttributes queueAttributes)

      The configuration attributes of the queue.

      Parameters:
      queueAttributes - The configuration attributes of the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queueAttributes

      default QueueDescription.Builder queueAttributes(Consumer<QueueAttributes.Builder> queueAttributes)

      The configuration attributes of the queue.

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

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

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