All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.connect.RoutingProfileArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.connect;

import com.pulumi.aws.connect.inputs.RoutingProfileMediaConcurrencyArgs;
import com.pulumi.aws.connect.inputs.RoutingProfileQueueConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class RoutingProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final RoutingProfileArgs Empty = new RoutingProfileArgs();

    /**
     * Specifies the default outbound queue for the Routing Profile.
     * 
     */
    @Import(name="defaultOutboundQueueId", required=true)
    private Output defaultOutboundQueueId;

    /**
     * @return Specifies the default outbound queue for the Routing Profile.
     * 
     */
    public Output defaultOutboundQueueId() {
        return this.defaultOutboundQueueId;
    }

    /**
     * Specifies the description of the Routing Profile.
     * 
     */
    @Import(name="description", required=true)
    private Output description;

    /**
     * @return Specifies the description of the Routing Profile.
     * 
     */
    public Output description() {
        return this.description;
    }

    /**
     * Specifies the identifier of the hosting Amazon Connect Instance.
     * 
     */
    @Import(name="instanceId", required=true)
    private Output instanceId;

    /**
     * @return Specifies the identifier of the hosting Amazon Connect Instance.
     * 
     */
    public Output instanceId() {
        return this.instanceId;
    }

    /**
     * One or more `media_concurrencies` blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The `media_concurrencies` block is documented below.
     * 
     */
    @Import(name="mediaConcurrencies", required=true)
    private Output> mediaConcurrencies;

    /**
     * @return One or more `media_concurrencies` blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The `media_concurrencies` block is documented below.
     * 
     */
    public Output> mediaConcurrencies() {
        return this.mediaConcurrencies;
    }

    /**
     * Specifies the name of the Routing Profile.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Routing Profile.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * One or more `queue_configs` blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. The `queue_configs` block is documented below.
     * 
     */
    @Import(name="queueConfigs")
    private @Nullable Output> queueConfigs;

    /**
     * @return One or more `queue_configs` blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. The `queue_configs` block is documented below.
     * 
     */
    public Optional>> queueConfigs() {
        return Optional.ofNullable(this.queueConfigs);
    }

    /**
     * Tags to apply to the Routing Profile. If configured with a provider
     * `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Tags to apply to the Routing Profile. If configured with a provider
     * `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private RoutingProfileArgs() {}

    private RoutingProfileArgs(RoutingProfileArgs $) {
        this.defaultOutboundQueueId = $.defaultOutboundQueueId;
        this.description = $.description;
        this.instanceId = $.instanceId;
        this.mediaConcurrencies = $.mediaConcurrencies;
        this.name = $.name;
        this.queueConfigs = $.queueConfigs;
        this.tags = $.tags;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(RoutingProfileArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private RoutingProfileArgs $;

        public Builder() {
            $ = new RoutingProfileArgs();
        }

        public Builder(RoutingProfileArgs defaults) {
            $ = new RoutingProfileArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param defaultOutboundQueueId Specifies the default outbound queue for the Routing Profile.
         * 
         * @return builder
         * 
         */
        public Builder defaultOutboundQueueId(Output defaultOutboundQueueId) {
            $.defaultOutboundQueueId = defaultOutboundQueueId;
            return this;
        }

        /**
         * @param defaultOutboundQueueId Specifies the default outbound queue for the Routing Profile.
         * 
         * @return builder
         * 
         */
        public Builder defaultOutboundQueueId(String defaultOutboundQueueId) {
            return defaultOutboundQueueId(Output.of(defaultOutboundQueueId));
        }

        /**
         * @param description Specifies the description of the Routing Profile.
         * 
         * @return builder
         * 
         */
        public Builder description(Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Specifies the description of the Routing Profile.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param instanceId Specifies the identifier of the hosting Amazon Connect Instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(Output instanceId) {
            $.instanceId = instanceId;
            return this;
        }

        /**
         * @param instanceId Specifies the identifier of the hosting Amazon Connect Instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(String instanceId) {
            return instanceId(Output.of(instanceId));
        }

        /**
         * @param mediaConcurrencies One or more `media_concurrencies` blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The `media_concurrencies` block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder mediaConcurrencies(Output> mediaConcurrencies) {
            $.mediaConcurrencies = mediaConcurrencies;
            return this;
        }

        /**
         * @param mediaConcurrencies One or more `media_concurrencies` blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The `media_concurrencies` block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder mediaConcurrencies(List mediaConcurrencies) {
            return mediaConcurrencies(Output.of(mediaConcurrencies));
        }

        /**
         * @param mediaConcurrencies One or more `media_concurrencies` blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. The `media_concurrencies` block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder mediaConcurrencies(RoutingProfileMediaConcurrencyArgs... mediaConcurrencies) {
            return mediaConcurrencies(List.of(mediaConcurrencies));
        }

        /**
         * @param name Specifies the name of the Routing Profile.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Routing Profile.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param queueConfigs One or more `queue_configs` blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. The `queue_configs` block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder queueConfigs(@Nullable Output> queueConfigs) {
            $.queueConfigs = queueConfigs;
            return this;
        }

        /**
         * @param queueConfigs One or more `queue_configs` blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. The `queue_configs` block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder queueConfigs(List queueConfigs) {
            return queueConfigs(Output.of(queueConfigs));
        }

        /**
         * @param queueConfigs One or more `queue_configs` blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. The `queue_configs` block is documented below.
         * 
         * @return builder
         * 
         */
        public Builder queueConfigs(RoutingProfileQueueConfigArgs... queueConfigs) {
            return queueConfigs(List.of(queueConfigs));
        }

        /**
         * @param tags Tags to apply to the Routing Profile. If configured with a provider
         * `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Tags to apply to the Routing Profile. If configured with a provider
         * `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public RoutingProfileArgs build() {
            if ($.defaultOutboundQueueId == null) {
                throw new MissingRequiredPropertyException("RoutingProfileArgs", "defaultOutboundQueueId");
            }
            if ($.description == null) {
                throw new MissingRequiredPropertyException("RoutingProfileArgs", "description");
            }
            if ($.instanceId == null) {
                throw new MissingRequiredPropertyException("RoutingProfileArgs", "instanceId");
            }
            if ($.mediaConcurrencies == null) {
                throw new MissingRequiredPropertyException("RoutingProfileArgs", "mediaConcurrencies");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy