public void service(ShapeId service) {
        this.service = service;
    }
Sets the required service being generated.

@param service Service to generate.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/CodegenDirector.java