public GetServiceInstanceSyncStatusResult withLatestSync(ResourceSyncAttempt latestSync) {
        setLatestSync(latestSync);
        return this;
    }
<p>
The detailed data of the latest sync with the service instance.
</p>

@param latestSync
       The detailed data of the latest sync with the service instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/GetServiceInstanceSyncStatusResult.java