public PackageDetails withPackageStatus(String packageStatus) {
        setPackageStatus(packageStatus);
        return this;
    }
<p>
Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED
</p>

@param packageStatus
       Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED
@return Returns a reference to this object so that method calls can be chained together.
@see PackageStatus
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/PackageDetails.java