public void setService(String service) {
        this.service = service;
    }
<p>
The Amazon Web Service that owns the resource and is responsible for creating and updating it.
</p>

@param service
       The Amazon Web Service that owns the resource and is responsible for creating and updating it.
aws-java-sdk-resourceexplorer2/src/main/java/com/amazonaws/services/resourceexplorer2/model/Resource.java