public void setOriginConfiguration(PackageOriginConfiguration originConfiguration) {
        this.originConfiguration = originConfiguration;
    }
<p>
A <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html">
PackageOriginConfiguration</a> object that contains a <a
href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html"
>PackageOriginRestrictions</a> object that contains information about the upstream and publish package origin
restrictions.
</p>

@param originConfiguration
       A <a
       href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html"
       >PackageOriginConfiguration</a> object that contains a <a
       href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html"
       >PackageOriginRestrictions</a> object that contains information about the upstream and publish package
       origin restrictions.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/PackageSummary.java