public PipeLogConfiguration withLevel(LogLevel level) {
        this.level = level.toString();
        return this;
    }
<p>
The level of logging detail to include. This applies to all log destinations for the pipe.
</p>

@param level
       The level of logging detail to include. This applies to all log destinations for the pipe.
@return Returns a reference to this object so that method calls can be chained together.
@see LogLevel
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/PipeLogConfiguration.java