public SubnetGroup withVpcId(String vpcId) {
        setVpcId(vpcId);
        return this;
    }
<p>
The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
</p>

@param vpcId
       The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/SubnetGroup.java