public PackageGroupAllowedRepository withOriginRestrictionType(PackageGroupOriginRestrictionType originRestrictionType) {
        this.originRestrictionType = originRestrictionType.toString();
        return this;
    }
<p>
The origin configuration restriction type of the allowed repository.
</p>

@param originRestrictionType
       The origin configuration restriction type of the allowed repository.
@return Returns a reference to this object so that method calls can be chained together.
@see PackageGroupOriginRestrictionType
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/PackageGroupAllowedRepository.java