public AwsAmazonMqBrokerDetails withSecurityGroups(java.util.Collection<String> securityGroups) {
        setSecurityGroups(securityGroups);
        return this;
    }
<p>
The list of rules (one minimum, 125 maximum) that authorize connections to brokers.
</p>

@param securityGroups
       The list of rules (one minimum, 125 maximum) that authorize connections to brokers.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsAmazonMqBrokerDetails.java