public PublishVersionResult withLastUpdateStatus(LastUpdateStatus lastUpdateStatus) {
        this.lastUpdateStatus = lastUpdateStatus.toString();
        return this;
    }
<p>
The status of the last update that was performed on the function. This is first set to <code>Successful</code>
after function creation completes.
</p>

@param lastUpdateStatus
       The status of the last update that was performed on the function. This is first set to
       <code>Successful</code> after function creation completes.
@return Returns a reference to this object so that method calls can be chained together.
@see LastUpdateStatus
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/PublishVersionResult.java