public void setSpec(MeshSpec spec) {
        this.spec = spec;
    }
<p>
The service mesh specification to apply.
</p>

@param spec
       The service mesh specification to apply.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/UpdateMeshRequest.java