public ResourceNotFoundException withResource(String resource) {
        setResource(resource);
        return this;
    }
@param resource
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/ResourceNotFoundException.java