public void setServiceSpec(String serviceSpec) {
        this.serviceSpec = serviceSpec;
    }
<p>
The service spec that you want the component to use to access service inputs. Set this only when you attach the
component to a service instance.
</p>

@param serviceSpec
       The service spec that you want the component to use to access service inputs. Set this only when you
       attach the component to a service instance.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/CreateComponentRequest.java