Interface CreateQueueRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateQueueRequest.Builder,,CreateQueueRequest> KinesisRequest.Builder,SdkBuilder<CreateQueueRequest.Builder,,CreateQueueRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateQueueRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateQueueRequest.BuilderqueueAttributes(Consumer<QueueAttributes.Builder> queueAttributes) The configuration attributes for the queue, including its visibility timeout and its dead-letter handling configuration.queueAttributes(QueueAttributes queueAttributes) The configuration attributes for the queue, including its visibility timeout and its dead-letter handling configuration.A name for the queue.streamConfigurationList(Collection<QueueStreamConfiguration> streamConfigurationList) The data stream the queue delivers records from, and the position in that stream where delivery begins.streamConfigurationList(Consumer<QueueStreamConfiguration.Builder>... streamConfigurationList) The data stream the queue delivers records from, and the position in that stream where delivery begins.streamConfigurationList(QueueStreamConfiguration... streamConfigurationList) The data stream the queue delivers records from, and the position in that stream where delivery begins.A set of up to 50 key-value pairs to apply to the queue.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 theQueueStreamConfiguration.Builderavoiding the need to create one manually viaQueueStreamConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamConfigurationList(List<QueueStreamConfiguration>).- Parameters:
streamConfigurationList- a consumer that will call methods onQueueStreamConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theQueueAttributes.Builderavoiding the need to create one manually viaQueueAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueueAttributes(QueueAttributes).- Parameters:
queueAttributes- a consumer that will call methods onQueueAttributes.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-