public CreateFunctionRequest withPackageType(PackageType packageType) {
        this.packageType = packageType.toString();
        return this;
    }
<p>
The type of deployment package. Set to <code>Image</code> for container image and set to <code>Zip</code> for
.zip file archive.
</p>

@param packageType
       The type of deployment package. Set to <code>Image</code> for container image and set to <code>Zip</code>
       for .zip file archive.
@return Returns a reference to this object so that method calls can be chained together.
@see PackageType
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/CreateFunctionRequest.java