public CreateTargetGroupResult withConfig(TargetGroupConfig config) {
        setConfig(config);
        return this;
    }
<p>
The target group configuration.
</p>

@param config
       The target group configuration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/CreateTargetGroupResult.java