Interface CreateQueueRequest.Builder

  • Method Details

    • queueName

      CreateQueueRequest.Builder queueName(String queueName)

      A name for the queue. The name is scoped to the Amazon Web Services account and Region used by the request, so two queues in different accounts, or in the same account and different Regions, can have the same name.

      Parameters:
      queueName - A name for the queue. The name is scoped to the Amazon Web Services account and Region used by the request, so two queues in different accounts, or in the same account and different Regions, can have the same name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamConfigurationList

      CreateQueueRequest.Builder streamConfigurationList(Collection<QueueStreamConfiguration> streamConfigurationList)

      The data stream the queue delivers records from, and the position in that stream where delivery begins. The list must contain 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 must contain 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

      CreateQueueRequest.Builder streamConfigurationList(QueueStreamConfiguration... streamConfigurationList)

      The data stream the queue delivers records from, and the position in that stream where delivery begins. The list must contain 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 must contain 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

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

      CreateQueueRequest.Builder queueAttributes(QueueAttributes queueAttributes)

      The configuration attributes for the queue, including its visibility timeout and its dead-letter handling configuration.

      Parameters:
      queueAttributes - The configuration attributes for the queue, including its visibility timeout and its dead-letter handling configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queueAttributes

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

      The configuration attributes for the queue, including its visibility timeout and its dead-letter handling configuration.

      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:
    • tags

      A set of up to 50 key-value pairs to apply to the queue. You can also add, change, and remove tags after the queue is created with TagResource and UntagResource.

      Parameters:
      tags - A set of up to 50 key-value pairs to apply to the queue. You can also add, change, and remove tags after the queue is created with TagResource and UntagResource.
      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.