public void setLatestSync(ResourceSyncAttempt latestSync) {
        this.latestSync = latestSync;
    }
<p>
The latest sync for the sync status with the Git repository, whether successful or not.
</p>

@param latestSync
       The latest sync for the sync status with the Git repository, whether successful or not.
aws-java-sdk-codeconnections/src/main/java/com/amazonaws/services/codeconnections/model/GetResourceSyncStatusResult.java