public ModifyCacheClusterRequest withSecurityGroupIds(java.util.Collection<String> securityGroupIds) {
        setSecurityGroupIds(securityGroupIds);
        return this;
    }
<p>
Specifies the VPC Security Groups associated with the cluster.
</p>
<p>
This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (Amazon VPC).
</p>

@param securityGroupIds
       Specifies the VPC Security Groups associated with the cluster.</p>
       <p>
       This parameter can be used only with clusters that are created in an Amazon Virtual Private Cloud (Amazon
       VPC).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/ModifyCacheClusterRequest.java