// *** 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class RoutingProfileMediaConcurrency {
    /**
     * @return Specifies the channels that agents can handle in the Contact Control Panel (CCP). Valid values are `VOICE`, `CHAT`, `TASK`.
     * 
     */
    private String channel;
    /**
     * @return Specifies the number of contacts an agent can have on a channel simultaneously. Valid Range for `VOICE`: Minimum value of 1. Maximum value of 1. Valid Range for `CHAT`: Minimum value of 1. Maximum value of 10. Valid Range for `TASK`: Minimum value of 1. Maximum value of 10.
     * 
     */
    private Integer concurrency;

    private RoutingProfileMediaConcurrency() {}
    /**
     * @return Specifies the channels that agents can handle in the Contact Control Panel (CCP). Valid values are `VOICE`, `CHAT`, `TASK`.
     * 
     */
    public String channel() {
        return this.channel;
    }
    /**
     * @return Specifies the number of contacts an agent can have on a channel simultaneously. Valid Range for `VOICE`: Minimum value of 1. Maximum value of 1. Valid Range for `CHAT`: Minimum value of 1. Maximum value of 10. Valid Range for `TASK`: Minimum value of 1. Maximum value of 10.
     * 
     */
    public Integer concurrency() {
        return this.concurrency;
    }

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

    public static Builder builder(RoutingProfileMediaConcurrency defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String channel;
        private Integer concurrency;
        public Builder() {}
        public Builder(RoutingProfileMediaConcurrency defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.channel = defaults.channel;
    	      this.concurrency = defaults.concurrency;
        }

        @CustomType.Setter
        public Builder channel(String channel) {
            this.channel = Objects.requireNonNull(channel);
            return this;
        }
        @CustomType.Setter
        public Builder concurrency(Integer concurrency) {
            this.concurrency = Objects.requireNonNull(concurrency);
            return this;
        }
        public RoutingProfileMediaConcurrency build() {
            final var o = new RoutingProfileMediaConcurrency();
            o.channel = channel;
            o.concurrency = concurrency;
            return o;
        }
    }
}
