public ModifyInstanceProfileRequest withVpcSecurityGroups(java.util.Collection<String> vpcSecurityGroups) {
        setVpcSecurityGroups(vpcSecurityGroups);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/ModifyInstanceProfileRequest.java