public static ChaincodeCollectionConfiguration fromCollectionConfigPackage(Collection.CollectionConfigPackage collectionConfigPackage) throws InvalidArgumentException {

        // Sanity check
        if (collectionConfigPackage == null) {
            throw new InvalidArgumentException("collectionConfigPackage must be specified");
        }

        return new ChaincodeCollectionConfiguration(collectionConfigPackage);
    }
public static ChaincodeCollectionConfiguration fromCollectionConfigPackage ( Collection . CollectionConfigPackage collectionConfigPackage ) throws InvalidArgumentException { if ( collectionConfigPackage == null ) { throw new InvalidArgumentException ( "collectionConfigPackage must be specified" ) ; } return new ChaincodeCollectionConfiguration ( collectionConfigPackage ) ; }
/*
public void setCollectionConfigPackage(Collection.CollectionConfigPackage collectionConfigPackage) {
this.collectionConfigPackage = collectionConfigPackage;
}