public AcceleratorAttributes withFlowLogsEnabled(Boolean flowLogsEnabled) {
        setFlowLogsEnabled(flowLogsEnabled);
        return this;
    }
<p>
Indicates whether flow logs are enabled. The default value is false. If the value is true,
<code>FlowLogsS3Bucket</code> and <code>FlowLogsS3Prefix</code> must be specified.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html">Flow
logs</a> in the <i>Global Accelerator Developer Guide</i>.
</p>

@param flowLogsEnabled
       Indicates whether flow logs are enabled. The default value is false. If the value is true,
       <code>FlowLogsS3Bucket</code> and <code>FlowLogsS3Prefix</code> must be specified.</p>
       <p>
       For more information, see <a href=
       "https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html"
       >Flow logs</a> in the <i>Global Accelerator Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/AcceleratorAttributes.java