public NodeGroupConfiguration withNodeGroupId(String nodeGroupId) {
        setNodeGroupId(nodeGroupId);
        return this;
    }
<p>
Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these
configuration values apply to.
</p>

@param nodeGroupId
       Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these
       configuration values apply to.
@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/NodeGroupConfiguration.java