public UpdateRealtimeLogConfigRequest withFields(java.util.Collection<String> fields) {
        setFields(fields);
        return this;
    }
<p>
A list of fields to include in each real-time log record.
</p>
<p>
For more information about fields, see <a href=
"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields"
>Real-time log configuration fields</a> in the <i>Amazon CloudFront Developer Guide</i>.
</p>

@param fields
       A list of fields to include in each real-time log record.</p>
       <p>
       For more information about fields, see <a href=
       "https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields"
       >Real-time log configuration fields</a> in the <i>Amazon CloudFront Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/UpdateRealtimeLogConfigRequest.java