public DescribePackageVersionRequest withFormat(String format) {
        setFormat(format);
        return this;
    }
<p>
A format that specifies the type of the requested package version.
</p>

@param format
       A format that specifies the type of the requested package version.
@return Returns a reference to this object so that method calls can be chained together.
@see PackageFormat
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/DescribePackageVersionRequest.java