public VpcDestinationConfiguration withSecurityGroups(java.util.Collection<String> securityGroups) {
        setSecurityGroups(securityGroups);
        return this;
    }
<p>
The security groups of the VPC destination.
</p>

@param securityGroups
       The security groups of the VPC destination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/VpcDestinationConfiguration.java