Interface QueueDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QueueDescription.Builder,,QueueDescription> SdkBuilder<QueueDescription.Builder,,QueueDescription> SdkPojo
- Enclosing class:
QueueDescription
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the queue.default QueueDescription.BuilderqueueAttributes(Consumer<QueueAttributes.Builder> queueAttributes) The configuration attributes of the queue.queueAttributes(QueueAttributes queueAttributes) The configuration attributes of the queue.queueCreationTimestamp(Instant queueCreationTimestamp) The time the queue was created.The name of the queue.queueStatus(String queueStatus) The current status of the queue.queueStatus(QueueStatus queueStatus) The current status of 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
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
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 returnedQueueARNto 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 fromQueueName. Use the returnedQueueARNto identify the queue in subsequent requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 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 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
The configuration attributes of the queue.
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:
-