Interface QueueSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QueueSummary.Builder,,QueueSummary> SdkBuilder<QueueSummary.Builder,,QueueSummary> SdkPojo
- Enclosing class:
QueueSummary
@Mutable
@NotThreadSafe
public static interface QueueSummary.Builder
extends SdkPojo, CopyableBuilder<QueueSummary.Builder,QueueSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN 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.streams(Collection<QueueStreamIdentifier> streams) The data stream the queue delivers records from.streams(Consumer<QueueStreamIdentifier.Builder>... streams) The data stream the queue delivers records from.streams(QueueStreamIdentifier... streams) The data stream the queue delivers records from.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.
- Parameters:
queueARN- The ARN of the queue.- 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.
-
streams
The data stream the queue delivers records from.
- Parameters:
streams- The data stream the queue delivers records from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The data stream the queue delivers records from.
- Parameters:
streams- The data stream the queue delivers records from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The data stream the queue delivers records from.
This is a convenience method that creates an instance of theQueueStreamIdentifier.Builderavoiding the need to create one manually viaQueueStreamIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreams(List<QueueStreamIdentifier>).- Parameters:
streams- a consumer that will call methods onQueueStreamIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-