Interface Queue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Queue.Builder,
,Queue> SdkBuilder<Queue.Builder,
,Queue> SdkPojo
- Enclosing class:
Queue
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the queue.hoursOfOperationId
(String hoursOfOperationId) The identifier for the hours of operation.lastModifiedRegion
(String lastModifiedRegion) The Amazon Web Services Region where this resource was last modified.lastModifiedTime
(Instant lastModifiedTime) The timestamp when this resource was last modified.maxContacts
(Integer maxContacts) The maximum number of contacts that can be in the queue before it is considered full.The name of the queue.default Queue.Builder
outboundCallerConfig
(Consumer<OutboundCallerConfig.Builder> outboundCallerConfig) The outbound caller ID name, number, and outbound whisper flow.outboundCallerConfig
(OutboundCallerConfig outboundCallerConfig) The outbound caller ID name, number, and outbound whisper flow.The Amazon Resource Name (ARN) for the queue.The identifier for the queue.The status of the queue.status
(QueueStatus status) The status of the queue.The tags used to organize, track, or control access for this resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the queue.
- Parameters:
name
- The name of the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueArn
The Amazon Resource Name (ARN) for the queue.
- Parameters:
queueArn
- The Amazon Resource Name (ARN) for the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueId
The identifier for the queue.
- Parameters:
queueId
- The identifier for the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the queue.
- Parameters:
description
- The description of the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundCallerConfig
The outbound caller ID name, number, and outbound whisper flow.
- Parameters:
outboundCallerConfig
- The outbound caller ID name, number, and outbound whisper flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundCallerConfig
default Queue.Builder outboundCallerConfig(Consumer<OutboundCallerConfig.Builder> outboundCallerConfig) The outbound caller ID name, number, and outbound whisper flow.
This is a convenience method that creates an instance of theOutboundCallerConfig.Builder
avoiding the need to create one manually viaOutboundCallerConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutboundCallerConfig(OutboundCallerConfig)
.- Parameters:
outboundCallerConfig
- a consumer that will call methods onOutboundCallerConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hoursOfOperationId
The identifier for the hours of operation.
- Parameters:
hoursOfOperationId
- The identifier for the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxContacts
The maximum number of contacts that can be in the queue before it is considered full.
- Parameters:
maxContacts
- The maximum number of contacts that can be in the queue before it is considered full.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the queue.
- Parameters:
status
- The status of the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the queue.
- Parameters:
status
- The status of the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp when this resource was last modified.
- Parameters:
lastModifiedTime
- The timestamp when this resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
The Amazon Web Services Region where this resource was last modified.
- Parameters:
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-