public RuleState withCurrentRevision(RuleRevision currentRevision) {
        setCurrentRevision(currentRevision);
        return this;
    }
<p>
The ID of the current revision of the artifact successfully worked on by the job.
</p>

@param currentRevision
       The ID of the current revision of the artifact successfully worked on by the job.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/RuleState.java