public ResourceDataSyncSource withEnableAllOpsDataSources(Boolean enableAllOpsDataSources) {
        setEnableAllOpsDataSources(enableAllOpsDataSources);
        return this;
    }
<p>
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager
automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services
accounts in your organization (or in the selected organization units). For more information, see <a
href="https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resource-data-sync.html">Setting up
Systems Manager Explorer to display data from multiple accounts and Regions</a> in the <i>Amazon Web Services
Systems Manager User Guide</i>.
</p>

@param enableAllOpsDataSources
       When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager
       automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web
       Services accounts in your organization (or in the selected organization units). For more information, see
       <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resource-data-sync.html">
       Setting up Systems Manager Explorer to display data from multiple accounts and Regions</a> in the
       <i>Amazon Web Services Systems Manager User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ResourceDataSyncSource.java