public void setSpec(String spec) {
        this.spec = spec;
    }
<p>
The service spec that was used to create the service instance.
</p>

@param spec
       The service spec that was used to create the service instance.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ServiceInstance.java