Interface Queue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Queue.Builder,Queue>,SdkBuilder<Queue.Builder,Queue>,SdkPojo
- Enclosing class:
- Queue
public static interface Queue.Builder extends SdkPojo, CopyableBuilder<Queue.Builder,Queue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Queue.Builderdescription(String description)The description of the queue.Queue.BuilderhoursOfOperationId(String hoursOfOperationId)The identifier for the hours of operation.Queue.BuilderlastModifiedRegion(String lastModifiedRegion)The Amazon Web Services Region where this resource was last modified.Queue.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when this resource was last modified.Queue.BuildermaxContacts(Integer maxContacts)The maximum number of contacts that can be in the queue before it is considered full.Queue.Buildername(String name)The name of the queue.default Queue.BuilderoutboundCallerConfig(Consumer<OutboundCallerConfig.Builder> outboundCallerConfig)The outbound caller ID name, number, and outbound whisper flow.Queue.BuilderoutboundCallerConfig(OutboundCallerConfig outboundCallerConfig)The outbound caller ID name, number, and outbound whisper flow.Queue.BuilderqueueArn(String queueArn)The Amazon Resource Name (ARN) for the queue.Queue.BuilderqueueId(String queueId)The identifier for the queue.Queue.Builderstatus(String status)The status of the queue.Queue.Builderstatus(QueueStatus status)The status of the queue.Queue.Buildertags(Map<String,String> tags)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 Detail
-
name
Queue.Builder name(String 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
Queue.Builder queueArn(String 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
Queue.Builder queueId(String 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
Queue.Builder description(String 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
Queue.Builder outboundCallerConfig(OutboundCallerConfig 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.Builderavoiding the need to create one manually viaOutboundCallerConfig.builder().When the
Consumercompletes,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:
outboundCallerConfig(OutboundCallerConfig)
-
hoursOfOperationId
Queue.Builder hoursOfOperationId(String 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
Queue.Builder maxContacts(Integer 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
Queue.Builder status(String 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:
QueueStatus,QueueStatus
-
status
Queue.Builder status(QueueStatus 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:
QueueStatus,QueueStatus
-
tags
Queue.Builder tags(Map<String,String> 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
Queue.Builder lastModifiedTime(Instant 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
Queue.Builder lastModifiedRegion(String 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.
-
-