public SegmentImportResource withChannelCounts(java.util.Map<String, Integer> channelCounts) {
        setChannelCounts(channelCounts);
        return this;
    }
<p>
The number of channel types in the endpoint definitions that were imported to create the segment.
</p>

@param channelCounts
       The number of channel types in the endpoint definitions that were imported to create the segment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/SegmentImportResource.java