public RunPipelineActivityResult withLogResult(String logResult) {
        setLogResult(logResult);
        return this;
    }
<p>
In case the pipeline activity fails, the log message that is generated.
</p>

@param logResult
       In case the pipeline activity fails, the log message that is generated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/RunPipelineActivityResult.java