public ResourceSyncAttempt withTargetRevision(Revision targetRevision) {
        setTargetRevision(targetRevision);
        return this;
    }
<p>
Detail data for the target revision.
</p>

@param targetRevision
       Detail data for the target revision.
@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/ResourceSyncAttempt.java