public CreateNetworkAnalyzerConfigurationRequest withMulticastGroups(java.util.Collection<String> multicastGroups) {
        setMulticastGroups(multicastGroups);
        return this;
    }
<p>
Multicast Group resources to add to the network analyzer configruation. Provide the <code>MulticastGroupId</code>
of the resource to add in the input array.
</p>

@param multicastGroups
       Multicast Group resources to add to the network analyzer configruation. Provide the
       <code>MulticastGroupId</code> of the resource to add in the input array.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotwireless/src/main/java/com/amazonaws/services/iotwireless/model/CreateNetworkAnalyzerConfigurationRequest.java