public CreateAssociationRequest withSyncCompliance(String syncCompliance) {
        setSyncCompliance(syncCompliance);
        return this;
    }
<p>
The mode for generating association compliance. You can specify <code>AUTO</code> or <code>MANUAL</code>. In
<code>AUTO</code> mode, the system uses the status of the association execution to determine the compliance
status. If the association execution runs successfully, then the association is <code>COMPLIANT</code>. If the
association execution doesn't run successfully, the association is <code>NON-COMPLIANT</code>.
</p>
<p>
In <code>MANUAL</code> mode, you must specify the <code>AssociationId</code> as a parameter for the
<a>PutComplianceItems</a> API operation. In this case, compliance data isn't managed by State Manager. It is
managed by your direct call to the <a>PutComplianceItems</a> API operation.
</p>
<p>
By default, all associations use <code>AUTO</code> mode.
</p>

@param syncCompliance
       The mode for generating association compliance. You can specify <code>AUTO</code> or <code>MANUAL</code>.
       In <code>AUTO</code> mode, the system uses the status of the association execution to determine the
       compliance status. If the association execution runs successfully, then the association is
       <code>COMPLIANT</code>. If the association execution doesn't run successfully, the association is
       <code>NON-COMPLIANT</code>.</p>
       <p>
       In <code>MANUAL</code> mode, you must specify the <code>AssociationId</code> as a parameter for the
       <a>PutComplianceItems</a> API operation. In this case, compliance data isn't managed by State Manager. It
       is managed by your direct call to the <a>PutComplianceItems</a> API operation.
       </p>
       <p>
       By default, all associations use <code>AUTO</code> mode.
@return Returns a reference to this object so that method calls can be chained together.
@see AssociationSyncCompliance
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/CreateAssociationRequest.java