public GetResourceSyncStatusResult withLatestSuccessfulSync(ResourceSyncAttempt latestSuccessfulSync) {
        setLatestSuccessfulSync(latestSuccessfulSync);
        return this;
    }
<p>
The latest successful sync for the sync status with the Git repository.
</p>

@param latestSuccessfulSync
       The latest successful sync for the sync status with the Git repository.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeconnections/src/main/java/com/amazonaws/services/codeconnections/model/GetResourceSyncStatusResult.java