public GetEventDataStoreResult withFederationStatus(FederationStatus federationStatus) {
        this.federationStatus = federationStatus.toString();
        return this;
    }
<p>
Indicates the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html">Lake
query federation</a> status. The status is <code>ENABLED</code> if Lake query federation is enabled, or
<code>DISABLED</code> if Lake query federation is disabled. You cannot delete an event data store if the
<code>FederationStatus</code> is <code>ENABLED</code>.
</p>

@param federationStatus
       Indicates the <a
       href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html">Lake query
       federation</a> status. The status is <code>ENABLED</code> if Lake query federation is enabled, or
       <code>DISABLED</code> if Lake query federation is disabled. You cannot delete an event data store if the
       <code>FederationStatus</code> is <code>ENABLED</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see FederationStatus
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/GetEventDataStoreResult.java