public PackageDetails withPackageName(String packageName) {
        setPackageName(packageName);
        return this;
    }
<p>
The user-specified name of the package.
</p>

@param packageName
       The user-specified name of the package.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/PackageDetails.java