public UserData withActiveSlotsByChannel(java.util.Map<String, Integer> activeSlotsByChannel) {
        setActiveSlotsByChannel(activeSlotsByChannel);
        return this;
    }
<p>
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
</p>

@param activeSlotsByChannel
       A map of active slots by channel. The key is a channel name. The value is an integer: the number of active
       slots.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UserData.java