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 Details

    • 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 the OutboundCallerConfig.Builder avoiding the need to create one manually via OutboundCallerConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outboundCallerConfig(OutboundCallerConfig).

      Parameters:
      outboundCallerConfig - a consumer that will call methods on OutboundCallerConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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.