@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getS3LogDestination() != null)
            sb.append("S3LogDestination: ").append(getS3LogDestination()).append(",");
        if (getFirehoseLogDestination() != null)
            sb.append("FirehoseLogDestination: ").append(getFirehoseLogDestination()).append(",");
        if (getCloudwatchLogsLogDestination() != null)
            sb.append("CloudwatchLogsLogDestination: ").append(getCloudwatchLogsLogDestination()).append(",");
        if (getLevel() != null)
            sb.append("Level: ").append(getLevel()).append(",");
        if (getIncludeExecutionData() != null)
            sb.append("IncludeExecutionData: ").append(getIncludeExecutionData());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/PipeLogConfiguration.java