public RuleState withLatestExecution(RuleExecution latestExecution) {
        setLatestExecution(latestExecution);
        return this;
    }
<p>
Represents information about the latest run of an rule.
</p>

@param latestExecution
       Represents information about the latest run of an rule.
@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