public void setVpcSecurityGroups(java.util.Collection<String> vpcSecurityGroups) {
        if (vpcSecurityGroups == null) {
            this.vpcSecurityGroups = null;
            return;
        }

        this.vpcSecurityGroups = new java.util.ArrayList<String>(vpcSecurityGroups);
    }
<p>
Specifies the VPC security groups to be used with the instance profile. The VPC security group must work with the
VPC containing the instance profile.
</p>

@param vpcSecurityGroups
       Specifies the VPC security groups to be used with the instance profile. The VPC security group must work
       with the VPC containing the instance profile.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/ModifyInstanceProfileRequest.java